This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes How do the connections get closed in Connection Pool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How do the connections get closed in Connection Pool" Watch "How do the connections get closed in Connection Pool" New topic
Author

How do the connections get closed in Connection Pool

Chandra Bairi
Ranch Hand

Joined: Sep 12, 2003
Posts: 152
Normally a connection pool is used for giving connections to the users based on the request for a connection by the user. now let us say i have a connection pool where i have a max of 10 connections and i open these 10 connections but after sometime i close all the connections. therefore when i do that all the connections will be open in the connection pool but i would not again request for these connections until the next day. let us say the request of the connections and closing happens at particular time of the day. then how do the connections get closed should the application accomodate the functionality to close the connections after certain time or how do we do it?


Thanks,
Shekar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do the connections get closed in Connection Pool
 
Similar Threads
Address In Use
DB connection in a servlet question
About Connection.close()
Weblogic connection pool question
EJB jar file Times Out - Poor System Performance in weblogic