Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection Pooling - Urget Help

 
Muhammad Mansoor.
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one tell me where i could get connection pooling working example
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try a search in Google after e.g. 'connection pool'
Rene
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at coreservlets' chapter 18.
HTH
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic