tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: Tomcat 4 JDBCRealm Connection Pooling
Date Wed, 13 Feb 2002 16:44:29 GMT


On Wed, 13 Feb 2002, Glenn Nielsen wrote:

> Date: Wed, 13 Feb 2002 10:25:07 -0600
> From: Glenn Nielsen <glenn@voyager.apg.more.net>
> Reply-To: Tomcat Developers List <tomcat-dev@jakarta.apache.org>
> To: tomcat-dev@jakarta.apache.org
> Subject: Tomcat 4 JDBCRealm Connection Pooling
>
> Currently the JDBCRealm does not use db Connection Pooling, instead
> it maintains an open connection and synchronizes use of the connection.
>
> I have been using the new Tomcat 4.1-dev DBCP for creating
> a JNDI named JDBC DataSource and it has been working well.
>
> The easiest way to implement db connection pooling may be by
> providing a JDBC Realm which uses a JNDI named JDBC DataSource.
>
> Should this support be added to the current JDBCRealm, or should a new
> realm be created which uses a JNDI named JDBC DataSource?
>

Hi Glenn,

Personally, I like the latter idea better (a new JDBCRealm implementation
that uses a JNDI named data source) to avoid disruption of existing
applications.

> Regards,
>
> Glenn
>

Craig


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message