基于JAVA的连接池优化Web数据库连接  被引量:15

Connection pool optimization of Web database connection based on JAVA

在线阅读下载全文

作  者:王晓路[1] 卢建军[1] 马莉[1] 

机构地区:[1]西安科技大学通信与信息工程学院,陕西西安710054

出  处:《西安科技大学学报》2005年第2期228-231,共4页Journal of Xi’an University of Science and Technology

基  金:陕西省教育厅专项科研计划项目(01JK125)

摘  要:开发基于数据库的Web程序时,涉及到多个用户同时请求与数据库建立"连接"的问题,但多用户并发处理目前还是一个难点。该文在对传统数据连接模式的分析基础上,采用了一种基于对象的数据连接池的设计方案。通过连接对象放置预先建立的若干"连接",根据一定的策略管理这些"连接",防止"连接"过多内存开销过大,及连接排队过长问题。并用JAVA实现了该方案,在实际应用中提供了一个高效的连接管理策略,提高了Web数据库应用系统的性能。While we are developing Web procedure based on database, some questiones are involved that a lot of users ask to connect with the database at the same time. It is a difficult point to deal with multi-user erupts. On the basis of analysis of the mode of the traditional data connecting, this article has adopted a kind of datum based on target to connect the design plan of the pool. Through joining the target, we put several 'joining' that is set up in advance. According to certain tactics, we manage these 'join' to prevent it too much and too expenses for memory. and a problem of connected line too long. We has realized this scheme with JAVA, offered a high-efficient connection to manage the tactics in practical application, and have raised the performance of WEB database application system.

关 键 词:JAVA 连接池 数据库连接 WEB数据库应用系统 优化 数据库建立 并发处理 分析基础 连接模式 设计方案 基于对象 连接对象 策略管理 管理策略 多用户 程序 内存 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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