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 connection pooling 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 "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: 3700

Have you tried google?

My Blog: Down Home Country Coding with Scott Selikoff
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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: connection pooling
Similar Threads
J2ee app gets stuck at a stored procedure call
enterprise application with many users
Try/catch variable scope
jdo and eclipse