*
The moose likes JDBC and the fly likes Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connection Pooling" Watch "Connection Pooling" New topic
Author

Connection Pooling

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
In case of Connection pooling, how many connections are available in pool. Is there any way to set this size?


I am slow but sure
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
Yes, all connection pools allow to set a minimum and maximum pool size (as well as some other options). Check the documentation of whichever one you're using (Apache DBCP has recently come back to life).


Ping & DNS - my free Android networking tools app
 
jQuery in Action, 2nd edition
 
subject: Connection Pooling