There are several ways to use DBCP, and several documents describing them.

One overview of how DBCP is put together is here:

http://jakarta.apache.org/commons/dbcp/api/overview-summary.html#overview_de
scription

Several code examples can be found here:

http://jakarta.apache.org/commons/dbcp/commons-dbcp-1.0/docs/

Information on how to configure DBCP as a JNDI datasource within tomcat can
be found here:

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

and especially here:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how
to.html#Database%20Connection%20Pool%20(DBCP)%20Configurations

Finally, the eyebrowse archives for commons-user:

http://archives.apache.org/eyebrowse/SearchList?listName=commons-user@jakart
a.apache.org&searchText=DBCP

and commons-dev:

http://archives.apache.org/eyebrowse/SearchList?listName=commons-dev@jakarta
.apache.org&searchText=DBCP

may be useful as well.

(No doubt all those links are going to break across lines, but hopefully
you'll be able to piece them together.)

Feel free to ask more specific questions after you've had a chance to digest
these a bit.

Enjoy,
- R.

Reply via email to