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 with Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connection pooling with Tomcat" Watch "connection pooling with Tomcat" New topic

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

Joined: Dec 20, 2006
Posts: 2516

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
jQuery in Action, 2nd edition
subject: connection pooling with Tomcat