2010/7/6 Leo Donahue - PLANDEVX <leodona...@mail.maricopa.gov>:
> Part 2:
> What is the correct way to make connections to things that are not data 
> sources in Tomcat?  Can Tomcat manage the connection information (machine 
> name, domain, user, password)?  How?
>

There is JNDI support available, so that you can declare <Resource> if
you provide an appropriate factory="" for it.

http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html

The factories are provided for some standard resource types (like
java.sql.DataSource).

Actually, Tomcat does not implement that factory by itself, but uses
Apache Commons DBCP library from http://commons.apache.org/ which
itself is based on Apache Commons Pool library.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to