File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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: 3703

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
It is sorta covered in the JavaRanch Style Guide.
subject: connection pooling
Similar Threads
Try/catch variable scope
jdo and eclipse
enterprise application with many users
J2ee app gets stuck at a stored procedure call