Filip Hanik - Dev Lists ha scritto:
you sure can,
you can also use org.apache.tomcat.jdbc.pool.DataSource
Charles advise to me that is a better policy to use with caution
internal Tomcat classes, indeed my question rises from this reason.
I don't want to save disk space (2 jars uses less space than few jpegs)
but I like to build polite application with no duplicate code. And less
dependences sounds like less probability to do mistakes.
If inside Tomcat library I can find the class that I must use is not
useful to insert another library in my application.
It is also true that my application with dbcp jars is more portable (not
a project requisite yet).
All more theoretical than practical.
thank you again
Edoardo
http://tomcat.apache.org/dev/dist/jdbc-pool/1.0-beta/
Filip
Edoardo Panfili wrote:
Hy,
can I use "org.apache.tomcat.dbcp.dbcp.BasicDataSource" in place of
"org.apache.commons.dbcp.BasicDataSource"?
If yes I can avoid to put commons-pool and commons-dbcp in my webapp
lib folder.
Looking at Tomcat build.xml seems that the two names refers to the
same thing.
thank you
Edoardo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org