You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Boyer <da...@bvu.edu> on 2003/01/13 04:13:35 UTC

Q: Dynamic database connection pooling?

Instead of predefining connections in either server.xml or another file
(such as using DBCP or DBPool), is it possible to have connection pools
created on-the-fly?

For example in IIS 5.0 under Windows 2000, database connections are
automatically pooled. When an ASP requests a database connection, IIS sees
if there's a connection pool that matches the connection string of the
current request. If there is, it checks for an unused connection in the pool
and either reuses it or (if needed) creates a new one. If no pool exists for
that connection string, IIS creates a pool and a new connection in the pool.

Is there an existing implementation for Tomcat that'll do this, or is it a
matter of writing my own connection manager?


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>