基于J2EE应用的数据库访问的性能优化.pdfVIP

  • 6
  • 0
  • 约1.83万字
  • 约 3页
  • 2017-05-27 发布于河南
  • 举报

基于J2EE应用的数据库访问的性能优化.pdf

基于J2EE应用的数据库访问的性能优化

29 1 第 卷 第 期 计 算 机 工 程 2003 1 年 月 Vol.29 № 1 Computer Engineering January 2003 ·开发研究与设计技术· 文章编号:1000—3428(2003)01 —0278—02 文献标识码:A 中图分类号: TP311.52 基于J2EE应用的数据库访问的性能优化 1 2 2 王 峰 ,顾 明 ,李 丽 (1. 大庆油田有限责任公司信息中心,大庆 163453 ;2. 清华大学计算机科学与技术系,北京 100084) 摘 要:具有快速的响应速度是应用系统设计的标准之一,特别是对基于Web 的开发,响应速度的快慢有时甚至影响到应用软件的使用价 值。本文在实践的基础上,提出了在应用J2EE的系统中如何优化数据库访问性能的方法,并给出了这些方法的测试数据。 关键词:J2EE;数据库;JDBC ;性能优化 Performance Optimization of Database Access Based on J2EE Application WANG Feng1 2 2 ,GU Ming ,LI Li (1. Information Center of Daqing Oilfield Co., Ltd., Daqing 163453 ; 2. Department of Computer Science and Technology, Tsinghua University, Bejing 100084 ) 【Abstract 】A fast response speed is one of the standards of application system design, especially the development based on Web, sometimes it even impacts the value of the system. This paper discusses the methods of the performance optimization of database access based on J2EE application on the basis of practice, and gives the testing data of these methods. 【Key words 】J2EE; Database, JDBC; Performance optimization 在应用J2EE进行系统设计和实现中,令设计人员和开 rs = pStmt.executeQuery(); //第二步,建立语句并执行。 发人员感到头痛的事情之一是应用程序的响应速度。虽然应 con.close();//第三步,逻辑关闭 用系统的开发不以追求系统性能为主要目的,首先强调的是 ⑵缓存 JDBC连接的数据源 功能的完整性、系统结构的清晰并具有良好的可扩展性和可

文档评论(0)

1亿VIP精品文档

相关文档