资 源 简 介
Connection pool technology is the core ideas: connect the reuse, by establishing a database connection pool and a connection to use, distribution, management strategy, make the connection in the pool connection can get the reuse of the high efficiency, safety, to avoid the database connection frequently set up, close the overhead. In addition, because of the original connection for the JDBC package, which makes it easy to connect to the database application of use (especially for transaction processing), improve the development
Efficiency, it is also for this package layer, the existence of the isolation of the application of the processing of itself logic and specific database access logic, make the reuse of the application itself become possible. Connection pool mainly consists of three parts (as shown in figure 1 below) : connection pool, the establishment of connection pool connection to use the management, of the closing of the connection pool. Here is the three parts and focus