摘要
通过讨论传统的Java程序数据库连接技术,考虑到Web应用程序访问数据库的效率需求,提出采用数据库连接池来管理数据库连接,阐述了现有连接池调度策略的基本原理;以Tom cat应用服务器为例,给出了数据库连接池参数配置的具体过程;最后提出为满足特定系统的需求,应设计自适应数据库连接池来管理数据库连接.
After discussing database connection technology of traditional Java application,considering the performance demand on database access of Java web application,this paper presents a database connection pool to manage database connection.The principle of management strategy of present connection pool is expounded;Take an example of the Tomcat,the parameters configuration process of the connection pool is also given;Finally,to meet a requirement of particular application,a self-adaptive management strategy of database connection pool is proposed.
出处
《合肥学院学报(自然科学版)》
2010年第4期29-32,共4页
Journal of Hefei University :Natural Sciences
基金
安徽广播电视大学自然科学项目(zr08-03zd)基金资助