tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Nielsen <gl...@voyager.apg.more.net>
Subject Re: Tomcat 4 JDBCRealm Connection Pooling
Date Wed, 13 Feb 2002 17:09:01 GMT
"Craig R. McClanahan" wrote:
> 
> 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.
> 

Yeah, that is a cleaner solution.  Shouldn't take much time to clone
the existing JDBCRealm to make a JDBCDataSourceRealm.

Glenn

----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

--
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