File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Connection Pooling" Watch "Connection Pooling" New topic

Connection Pooling

Sanjay Deshpande
Ranch Hand

Joined: May 22, 2001
Posts: 111
How to implement Connection Pool in tomcat?
Which Pool class is free?
George Carlson

Joined: Aug 24, 2000
Posts: 15
Java Exchange has an excelent free Connection Pooling class (DBConnectionBroker). To use it in Tomcat, just put the jar in your classpath and call it from within your java code.

Joined: May 15, 2002
Posts: 2
Can you plz share the relevant portion of JSP/Servlet code for using the DbConnectionBroker.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63843

Welcome to the Ranch "rc"!
You'll find this forum a great place to seek help on JSP pages, and there aren't many rules you'll have to worry about, but one is that proper names are required. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
JSP Forum Bartender

[Asking smart questions] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63843

Since this is specifically about connection pooling in Tomcat, I'm moving this off to the Tomcat forum.
I agree. Here's the link:
subject: Connection Pooling
It's not a secret anymore!