摘要: 分析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
中图分类号:
苏林凤;郭跟成. EJB性能优化设计方案[J]. 计算机工程, 2007, 33(22): 101-103.
SU Lin-feng; GUO Gen-cheng. Design Scheme of EJB Performance Optimization[J]. Computer Engineering, 2007, 33(22): 101-103.