连接池数据库访问技术深入研究  被引量:10

Thoroughly study of database access technology based on connection pool

在线阅读下载全文

作  者:成培[1] 李峰[1] 王畅[1] 

机构地区:[1]长沙理工大学计算机与通信工程学院,湖南长沙410076

出  处:《计算机工程与设计》2007年第3期509-511,共3页Computer Engineering and Design

基  金:湖南省自然科学基金项目(05JJ30123);湖南省教育厅科学研究基金项目(05C246)

摘  要:分析了Java传统模式访问数据库存在的缺陷,阐述了连接池的概念以及工作机制,并设计实现了一个可供多用户并发访问的连接池。针对事务管理和多数据库服务进行了深入研究,并给出解决方案。根据试验结果分析了该技术与通过传统模式获得相同连接对象花费的时间对比情况,在国土资源管理项目中应用此技术,证明了该技术的合理性、高效性。The traditional method of accessing database in Java is analysed. The conception and the working mechanism of connection pool is explained and a connection pool is designed and established, which allows many clients to access simultaneously. Especially a deeper study on the transaction processing and multi-database servers is given. Then according to the results of experiment the connection pool is compared with traditional methods in consumption of time to get the same connection object. Finally this technology is used in the project of national territory resource management. The rationality and high efficiency are proved.

关 键 词:事务管理 数据库 连接池 并发访问 连接池管理 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象