aspose file tools*
The moose likes JDBC and the fly likes connection pooling with Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connection pooling with Tomcat" Watch "connection pooling with Tomcat" New topic
Author

connection pooling with Tomcat

amit daundkar
Ranch Hand

Joined: Jan 24, 2009
Posts: 47
hello friends,
i havent used connection pooling before.

will you please provide me a simple example to demonstrate connection pooling with Tomcat.

please reply. i will be grateful.

thank you.
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2497
    
    8

Hi Amit,

This tutorial on the Tomcat site shows how to configure a pool, and how to get a connection from the pool in your java code (don't look at the jsp example please).



OCUP UML fundamental and ITIL foundation
youtube channel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connection pooling with Tomcat