Does TOMCAT provide JDBC Connection Pooling ?

Nicola Ken Barozzi

No.

Tomcat (talking about version 3.x.x) is the reference implementation of the webapp part of J2EE (ie, no EJB). In this spec connection pooling is not contemplated.

You can however use pooling by using the JDBC 2.0 optional package instead of JDBC 2.0 directly.

For additional info see the JGuru JDBC FAQ Forum and see How do I access a database from my servlet? in the Servlets FAQ.

[Also, http://www.javaexchange.com hosts a fine implementation of a JDBC Connection Pool. -Alex]

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact