作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2005, Vol. 31 ›› Issue (19): 97-.

• 论文 • 上一篇    下一篇

连接池在个性化信息服务系统中的应用

刘海燕,李伟生   

  1. 北京交通大学计算机与信息技术学院,北京交通大学计算机与信息技术学院 北京 100044
  • 发布日期:2005-10-15

Application of Connection Pool in Personalized Information Service System

LIU Haiyan,LI Weisheng   

  1. (School of Computer and Information Technology,Beijing Jiaotong University,Beijing 100044)
  • Published:2005-10-15

摘要: 在基于Java的个性化信息服务系统中,需要经常访问数据库。但是频繁地建立、关闭连接严重影响了系统的性能,导致数据库访问性能瓶颈问题。该系统通过使用连接池,设计相应的配置、分配和释放策略解决了该问题,避免了频繁的数据库访问造成的巨大开销,实现了数据库的连接复用,保证了数据库访问的高效安全性,是该系统实现个性化的必要条件。

关键词: 个性化, 连接池, 数据库, Java

Abstract: It’s necessary to access database in personalized information service system based on Java.It effects the system performance badly and leads to database accessing bottleneck question while constructing and closing connection too frequently.The question can be resolved commendably by using connection pool and constructing strategy for scheme,distributing and releasing accordingly in the part of database accessing of the system.By this way,the great spending of database accessing can been saved and the connection can been reused.Connection pool makes the database accessing efficient and safe and it is important to realize personalized information service.

中图分类号: