File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes connection pooling with Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 2565

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
I agree. Here's the link:
subject: connection pooling with Tomcat
It's not a secret anymore!