ApacheCon NA 2010 Session

Commons DBCP and Pool

Commons Pool provides a generic object pooling API and severalobject pool implementations. Commons DBCP uses Commons Pool to create a JDBC database connection pool, exposed as a JNDI referenceable JDBC DataSource. This session will focus on how to configure and use Commons Pool and / or DBCP to handle different kinds of workloads and resource constraints, using simulation data and a deep dive into the implementation supporting configuration parameters to illustrate the basic concepts. The main concepts and simulation results are applicable to any object or database connection pool. We will also discuss current thinking on the roadmaps for these components.