O'Reilly logo

Apache Jakarta Commons: Reusable Java™ Components by Will Iverson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. DBCP (Database Connection Pool)

Opening a connection to a database is a relatively expensive operation. To avoid having to frequently open database connections, many applications rely on a database connection pool—a group of connections to the database, rotated between the various components of an application as needed. The Apache Jakarta Commons Database Connection Pool (DBCP) provides a rich set of functionality for connection pooling.

DBCP offers a variety ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required