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

数据库连接策略优化方法
引用本文:孔哲,孟丽荣,孙筱雯. 数据库连接策略优化方法[J]. 山东大学学报(工学版), 2003, 33(6): 652-657
作者姓名:孔哲  孟丽荣  孙筱雯
作者单位:1. 山东大学,计算机科学与技术学院,山东,济南,250061
2. 山东第二轻工业设计院,山东,济南,250014
摘    要:目的是结合邮政物流信息系统的开发 ,实现高效、安全的数据库连接管理 ,方法为在对数据库连接进行详细分析的基础上 ,利用资源池设计模式 ,实现数据库连接池 ,实现连接的高效、安全的复用 ,提出并实现了一个高效的数据库连接管理策略 ,使得开发高性能的数据库应用变得相对容易 .对于事务和多线程下的数据库连接这两个难点问题进行了深入的剖析 ,并给出了一个基于设计模式的解决方案 ,由此 ,本文结合邮政物流信息系统的开发 ,给出了一个具有一定普遍意义的基本的连接管理框架 ,使得高效、安全的复用数据库连接成为可能

关 键 词:物流信息系统  JDBC  连接池
文章编号:1672-3961(2003)06-0652-06
修稿时间:2003-02-24

Optimizing method of database connection strategy
KONG Zhe ,MENG Li-rong ,SUN Xiao-wen. Optimizing method of database connection strategy[J]. Journal of Shandong University of Technology, 2003, 33(6): 652-657
Authors:KONG Zhe   MENG Li-rong   SUN Xiao-wen
Affiliation:KONG Zhe 1,MENG Li-rong 1,SUN Xiao-wen 2
Abstract:The objective of the paper is that based on th e research of Post Logis tic Information System, an effective strategy of database-connection management is researched and realized in the paper. The methods is that based on the analys ing of database-connection, using the design pattern of resource pool, the data bas e-connection pool is realized. And then,we realize a safe and high-powered reu se of connection, research and realize an effective strategy of database-connectio n management. This will make the development of high-powered database applicatio n comparatively easy. After anatomizing the problem of affair and multithreading in depth, a solve scheme based on design pattern is presented. The conclusion is that based on the research of Post Logistic Information System, a popular and ba sic management frame of connection is presented and this will make the effective and safe reuse of database conncetion available.
Keywords:logistic Information system  JDBC  connection-poo l  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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