On Jan 18, 2013, at 11:47 AM, Neil Laurance wrote:

> Hi there,
> 
> For some time, the following link has existed:
> 
> http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html
> 
> This details a 'new' Tomcat JDBC connection pool, with a number of reasons 
> why this is superior to commons-dbcp

I would suggest that you refer to the doc that is included with Tomcat 7.  I 
don't know if that one is up-to-date anymore.

  https://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html


> 
> However, the standard datasource configuration page mentions that tomcat 
> still uses dbcp by default:
> 
> http://tomcat.apache.org/tomcat-7.0-doc/jndi-datasource-examples-howto.html
> 
> Is the 'new' Tomcat JBDC connection pool suitable for adoption, and is there 
> a timescale for making this the default pool?

I personally prefer the new connection pool, tomcat-jdbc.  I like some of the 
features it add, in particular interceptors.  Plus, DBCP is known to have 
issues with scaling and concurrency, the new pool fixes that.  That being said, 
if you're running a small site, you may never hit those issues, so it may not 
matter which one you pick.

Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to