首页 | 本学科首页   官方微博 | 高级检索  
     

基于JDBC的数据库连接池高效管理策略
引用本文:刁磊,周平安.基于JDBC的数据库连接池高效管理策略[J].计算机工程与应用,2003,39(30):203-205.
作者姓名:刁磊  周平安
作者单位:武汉大学,武汉,430072
摘    要:在基于JDBC的数据库应用开发中,数据库连接的管理是一个难点,因为它是决定该应用性能的一个重要因素。论文在对数据库连接进行分析的基础上,提出并实现了一个基于连接池的高效管理策略,使得开发高性能的数据库应用变得相对容易。并对于连接管理中的两个难点:事务和多线程问题进行了剖析,给出了一个基于设计模式的解决方案及其实现原型。

关 键 词:JDBC  连接池  引用记数
文章编号:1002-8331-(2003)30-0203-03
修稿时间:2002年11月1日

A Efficient Management Strategy Based on JDBC Database Connectionpool
Diao Lei Zhou Ping''''an.A Efficient Management Strategy Based on JDBC Database Connectionpool[J].Computer Engineering and Applications,2003,39(30):203-205.
Authors:Diao Lei Zhou Ping'an
Abstract:In the development based on JDBC of database application,the Management of database connection is a dif-ficulty,because it is an important factor which decides the application performance.This paper proposes and realizes an efficient management strategy based on Connectionpool after analyzing the database connection,which make it easy to develop the high performance database application.This paper also anatomizes two rubs in the connection management :database transaction and multithreading.At last a resolution on the basis of design patterns and its corresponding real-ization prototype are presented.
Keywords:JDBC Connectionpool  Reference-count  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号