Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Best practice for closing connections?

843836Apr 1 2005 — edited Apr 2 2005
Hi,

Does anybody have any reccommendations for when to close connections to a database? I've got as far as understanding that I shouldn't close it at the end of every page!

My project is a small web site that needs to be scalable but is not ever likely to have a vast number of concurrent users.

Any pearls of wisdom appreciated
njay
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 30 2005
Added on Apr 1 2005
6 comments
679 views