At 09:07 PM 12/13/2001 +0100, you wrote: >I have a stupid question ? > >in the JNDI tomcat how to, it says : >" >The J2EE Platform Specification requires J2EE Application Servers to make available a DataSource implementation (that is, a connection pool for JDBC connections) for this purpose. Tomcat 4 offers exactly the same support >" > >Do I understand right ? >A DataSource retrieve by JNDI in tomcat 4.0.1 is a Pooled Connection ? > >Christophe >
I've been messing with pooled connections and JNDI this week. Unless Tomcat is different somehow, JNDI won't give you a pooled connection via DataSource. You'll need to get a PooledConnection using a ConnectionPoolDataSource as I understand it, and according to the various information I've been researching. See here for info from Sun: http://developer.java.sun.com/developer/technicalArticles/J2EE/pooling -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>