2、的问题。并在学习掌握了实现连接池的关键技术后给出了一个较为高效的连接池管理策略在这种策略思想的指导下实际开发出一个数据库连接池模块,使得上层应用通过本连接池访问数据库资源变得相对高效和容易,从实际上论证了这种设计方案的可行性。关键词:连接池;数据库;JDBC;并发访问Research and realization of the Database Connection Pool Abstract In the practically application development of database based on JDBC, the management
3、of database connection is a key point and also a difficulty. The response and performance of the WEB system are depended on frequently connecting, closing and multi-user accessing in a certain extent. Using the Database Connection Pool can provide management and maintenance for connec
4、tions of the database. The upper applications may access the database recourse via the Database Connection Pool, in order to upgrade system performance and fully utilize the system recourse. This article summarizes some issues which are feasibility of this design project in practice.
5、Key words : Database Connection Pool ; Database ; JDBC ; Concurrence access 目 录1引言11.1课程背景11.2连接池的主要作用11.3目前流行的WEB服务器数据库连接池方面使用现状11.3.1DHCP介绍21.3.2poolman介绍21.3.3C3P0介绍21.3.4其他连接池(自写连接池)22相关理论基础32.1数据库概论32.2数据库连接池的基本原理32.3连接池中的关键技术42.3.1连接池的分配与释放42.3.2连接池的维护53系统总体设计思想及方案53.1连接池中的关键类设计