File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "connection pooling" Watch "connection pooling" New topic

connection pooling

amarnath jha

Joined: Aug 07, 2006
Posts: 18
please give me an example of connection pooling.Any code will work fine
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3749

Have you tried google?

[OCA 8 Book] [Blog]
Scott Johnson
Ranch Hand

Joined: Aug 24, 2005
Posts: 518
Do you want a example of how to use a connection pool? Or how to implement a connection pool? Or do you want a explaination of why a connection pool is beneficial?

Is this an academic exercise?

Typically you would not write your own connection pool. There are several packages that can provide this functionality. If you are using a app server, it probably has this built in.
amarnath jha

Joined: Aug 07, 2006
Posts: 18
thanks i found very useful links from google
I agree. Here's the link:
subject: connection pooling
jQuery in Action, 3rd edition