You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Charlie Toohey <ct...@pacbell.net> on 2003/01/03 21:09:29 UTC

Struts data-source vs. Tomcat JNDI registered DataSource

For those using Struts with Tomcat,
Any advantage or difference in using a Struts data source based on the
Jakarta Commons DataBase Connection Pool BasicDataSource class,
vs. using the Tomcat data source using the Jakarta Commons DBCP and 
Pool (configuring factory as org.apache.commons.dbcp.BasicDataSourceFactory), 
registering the DataSource with a naming service based on JNDI ?

I was planning on configuring a DataSource with JNDI in web.xml/server.xml 
for database access, but then noticed that struts-config.xml has a 
data-source entry. 

Any opinions ?

- Charlie


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>