Understanding of the database connection pool:
The Java Operational database needs to be manipulated using JDBC, and each operation needs to get a connection to the database and operate on the connection. However, the frequent opening of links, close connections will inevitably result in the consumption of system performance. Therefore, the access connection and the management of the connection to the third-party database connection pool This middleware, when the system starts, according to Java EE Standard, the database connection pool is configured to initialize and maintain a few connections in memory. When these connections are used, the system does not need to be concerned about the opening and closing of these connections, only the connection to the database connection pool is obtained, and all other operations that interact directly with the database are given to the database connection pool.
Understanding of the database connection pool