Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JDBC and the fly likes what exactly happen when we use connection pool ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "what exactly happen when we use connection pool ?" Watch "what exactly happen when we use connection pool ?" New topic
Author

what exactly happen when we use connection pool ?

sivakondalu dokku
Greenhorn

Joined: Jan 17, 2012
Posts: 5
I would like to know , how to use connection pool mechanisum in java while connect to data base.
Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1505
    
    5

Hi sivakondalu,

Welcome to coderanch!

I'm not a JDBC expert, however, perhaps below links might be useful:

http://java.sun.com/developer/onlineTraining/Programming/JDCBook/conpool.html
http://docs.oracle.com/javase/jndi/tutorial/ldap/connect/pool.html

Apart from this, there is a dedicated forum for JDBC. You can get better and quick help there.

I hope this helps.


Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38412
    
  23
Anayonkar Shivalkar wrote: . . . Apart from this, there is a dedicated forum for JDBC. You can get better and quick help there.

I hope this helps.
Agree. Moving discussion.
 
 
subject: what exactly happen when we use connection pool ?