No interest in my original post so I'll rephrase.

Is every container-managed DataSource configured in TC (e.g. via server.xml
/ context.xml) automatically made pooled using commons pooling?  Or can
ordinary non-pooled connections be created too using this mechanism?

> -----Original Message-----
> From: Steve Kirk [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday 09 November 2004 00:45
> To: 'Tomcat Users List'
> Subject: Are all TC-managed DataSources pooled?
> 
> The docs under 'JDBC Data Sources' at 
> http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources
> -howto.html 
> say, "The J2EE Platform Specification requires J2EE 
> Application Servers to
> make available a DataSource implementation (that is, a 
> connection pool for
> JDBC connections)."  
> 
> Now, I'm *not* criticising the docs, I'm seeking 
> clarification.  I'm not
> sure whether this is saying that a JDBC DataSource has to be 
> pooled?  Or is
> instead saying that J2EE requires pooled JDBC connections, or 
> maybe that
> J2EE requires connections via a DataSource?
> 
> I didn't think that DataSources had to be pooled, based on 
> what is says
> here: 
> http://java.sun.com/j2se/1.4.2/docs/api/javax/sql/DataSource.html 
> 
> This might sound like nit picking, but the answer to this 
> will help me help
> someone else on another thread.  Thanks.



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

Reply via email to