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

计算机工程 ›› 2007, Vol. 33 ›› Issue (22): 101-103. doi: 10.3969/j.issn.1000-3428.2007.22.035

• 软件技术与数据库 • 上一篇    下一篇

EJB性能优化设计方案

苏林凤,郭跟成   

  1. (河南科技大学电子信息工程学院,洛阳 471003)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-11-20 发布日期:2007-11-20

Design Scheme of EJB Performance Optimization

SU Lin-feng, GUO Gen-cheng   

  1. (College of Electronic Information Engineering, Henan University of Science and Technology, Luoyang 471003)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-11-20 Published:2007-11-20

摘要: 分析EJB调用原理,指出影响EJB性能的关键因素是初始化、查找JNDI和远程调用,描述针对这3大性能因素的EJB设计模式优化思想,提出基于Session Façade,EJB Home工厂,Value Object等EJB设计模式的整合优化设计方案。该方案具有良好的可扩展性和可复用性。

关键词: EJB, 远程调用, 设计模式

Abstract: This paper analyzes elements of remote invocation method, points out the initialization, JNDI search and remote invocation are the key factors affecting the EJB performance. Thus, an idea optimizing EJB design pattern is proposed. Based on the theory of Session Facade, EJBHome factory, Value Object and other EJB design patterns, the paper comes up with the optimization scheme for EJB design patterns. This scheme has good extensibility and reusability.

Key words: enterprise JavaBeans(EJB), remote invocation, design patterns

中图分类号: