On Fri, 5 Jul 2002, Nikola Milutinovic wrote:

> Date: Fri, 05 Jul 2002 14:15:32 +0200
> From: Nikola Milutinovic <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: AW: Connection Pooling?
>
> Ralph Einfeldt wrote:
>
> > In the latest version the answer is no !
> >
> > Tomcat contains dbcp from the jakarta-commons project
> > which is a complete connection pool. So you driver
> > doesn't have to implement pooling.
>
> Is there any potential benefit from a driver that does support pooling?
> Namely Oracle and alike (PostgreSQL has a DataSource implementation, but
> nothing else).
>

The standard resource factory for data sources (from commons-dbcp) won't
take advantage of any pooling provided by a JDBC driver, but you could
easily create your own JNDI resource factory that did so.  Look at the
source code for org.apache.commons.dbcp.BasicDataSourceFactory to get a
feel for what you need to do.

> Nix.

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to