|
This chapter shows how to use a custom pool as a performance enhancement for managing connections to a database. Interestingly, this can be done explicitly as a pool, or implicitly by injecting the pool at the driver level. While the Pool package, described in Chapter 5, "Pool," can be used to build generic pools, the DBCP is custom-built to address the common task of connecting to a database.
|
|