1
|
-------------------
|
2
|
Apache Commons DBCP
|
3
|
-------------------
|
4
|
|
5
|
"Many Jakarta projects support interaction with a relational database. Creating
|
6
|
a new connection for each user can be time consuming (often requiring multiple
|
7
|
seconds of clock time), in order to perform a database transaction that might
|
8
|
take milliseconds. Opening a connection per user can be unfeasible in a
|
9
|
publicly-hosted Internet application where the number of simultaneous users can
|
10
|
be very large. Accordingly, developers often wish to share a "pool" of open
|
11
|
connections between all of the application's current users. The number of users
|
12
|
actually performing a request at any given time is usually a very small
|
13
|
percentage of the total number of active users, and during request processing
|
14
|
is the only time that a database connection is required. The application itself
|
15
|
logs into the DBMS, and handles any user account issues internally.
|
16
|
|
17
|
There are several Database Connection Pools already available, both within
|
18
|
Jakarta products and elsewhere. This Commons package provides an opportunity to
|
19
|
coordinate the efforts required to create and maintain an efficient,
|
20
|
feature-rich package under the ASF license."
|
21
|
|
22
|
For more information:
|
23
|
http://commons.apache.org/dbcp/
|