I've heard that the data-source definitions in struts-config.xml use
Common's DBCP, just like Tomcat 4.1-5.0 uses for it's connection
pooling.  Is it then safe to say that implementing a data-source via
struts-config.xml will give you the same connection pooling architecture
as configuring it in Tomcat's server.xml? What is the difference between
the two?  I'm guessing that if you configure in struts-config.xml, you
have to access your connection in an action, and if you do it in Tomcat,
you can access it via JNDI.  Is that a fair analogy?

Thanks,

Matt

Reply via email to