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

用连接池提高Servlet访问数据库的效率
引用本文:张玉林. 用连接池提高Servlet访问数据库的效率[J]. 现代电子技术, 2006, 29(20): 72-74
作者姓名:张玉林
作者单位:西安通信学院,陕西,西安,710106
摘    要:作为应用十分广泛的服务器端程序,Java Servlet有着很多的优势。不仅多个请求可以共享公用资源,而且还可以在不同用户请求之间保留持续数据。不过随着数据库访问量的增大,传统的Servlet与数据库连接方式的效率下降十分明显。介绍一种充分发挥该特色的实用技术,即数据库连接池。实践证明:应用连接池技术可以大幅度提高数据库访问的效率,尤其是在多次数小规模的查询操作上表现尤为明显。

关 键 词:Servlet  连接池  数据库
文章编号:1004-373X(2006)20-072-03
收稿时间:2006-04-16
修稿时间:2006-04-16

Improving the Efficiency of Servlet Links to the Database by Using Connections Pool
ZHANG Yulin. Improving the Efficiency of Servlet Links to the Database by Using Connections Pool[J]. Modern Electronic Technique, 2006, 29(20): 72-74
Authors:ZHANG Yulin
Abstract:As a widely used server side data processing technology,Java Servlet has several advantages.By using this technology,public resources can be shared between requests,and continuing data can be retained between different users request.Although it is a powerful technology,it also has some disadvantages.For instance,with the developing access to the database,the efficiency dropped dramatically.In this paper we introduce a full play to the characteristics of the practical skills,database connections pool.It has been proved that efficiency can be improved by using database connections pool.It can be observed obviously in the multi-number of times small scale inquiry operations.
Keywords:Servlet  connections pool  database
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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