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

datasource - collection pooling w/Tomcat 5

Dave Bosky
Ranch Hand

Joined: Dec 16, 2003
Posts: 72
Could someone provide an example of using a datasource with connection pooling? I've got the datasource set up correctly and is working fine but I need to use connection pooling and have no idea of where to begin.

I'm new to the Java/Tomcat world and but connection pooling seems pretty common. Examples...please..

Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

so what you have is a non-pooled DataSource ?

Have you tried the example in Tomcat docs ?

The section entitled 'Database Connection Pool (DBCP) Configurations' will be of particular interest to you.
I agree. Here's the link:
subject: datasource - collection pooling w/Tomcat 5
It's not a secret anymore!