| Author |
Connection Pooling on Tomcat
|
Siamak Saarmann
Ranch Hand
Joined: Aug 21, 2004
Posts: 77
|
|
Hello, I am using direct JDBC connections in my web application. It seems to me that it opens too many connections to database and I need to do something. Would somone please forward me to code snippet that shows how can I use Tomcat managed database connections? Regards, Mac
|
PhD Candidate: Distributed and Parallel Systems, Simulation and Modeling
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
|
Using the container-managed connection pooling should indeed solve your problem. I've moved this to the Tomcat forum where it should get better exposure to Tomcat users.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Craig Jackson
Ranch Hand
Joined: Mar 19, 2002
Posts: 405
|
|
The links below should get you started: JNDI Resources HOW TO JNDI Datasources HOW TO Commons DBCP Overview
|
 |
Siamak Saarmann
Ranch Hand
Joined: Aug 21, 2004
Posts: 77
|
|
Craig, Thank you for your help. Regards, Mac
|
 |
 |
|
|
subject: Connection Pooling on Tomcat
|
|
|