File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Connection Pooling - Urget Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connection Pooling - Urget Help" Watch "Connection Pooling - Urget Help" New topic
Author

Connection Pooling - Urget Help

Muhammad Mansoor.
Greenhorn

Joined: Oct 25, 2002
Posts: 8
Can any one tell me where i could get connection pooling working example
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Try a search in Google after e.g. 'connection pool'
Rene


Regards, Rene Larsen
Dropbox Invite
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
If you are using an Application Server than check the documentation. Almost all of them support connection pooling without additional software.
John O'Hanley
Greenhorn

Joined: Oct 13, 2002
Posts: 24
Tomcat 4.1.12 implements JNDI, and here is their
excellent guide to using their connection pool mechanism.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
Note that the db driver is not placed in your .war, but in Tomcats common/lib directory.
Also, exercise care with the server.xml configuration..
[ October 26, 2002: Message edited by: John O'Hanley ]
Juanjo Bazan
Ranch Hand

Joined: Feb 04, 2002
Posts: 231
Take a look at coreservlets' chapter 18.
HTH
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Connection Pooling - Urget Help
 
Similar Threads
Connection Pooling
Driver Loading
pooling in tomcat 6.x
servlet destroy method and session
Questions on EJB