期刊文献+

EJB设计中一种动态会话外观模式的实现策略

The Strategy of A Dynamic SessionFacade Pattern's implemention in EJB Designning
下载PDF
导出
摘要 会话外观是一种经典的EJB设计模式,其实现通常都是静态的,亦即要将EntityBean的LocalHome接口硬编码为会话外观SessionBean具体的实例变量,这在需要封装多个EntityBean时,会话外观SessionBean将变得异常复杂而难以实现和维护。本文通过对以上静态会话外观模式不足的分析,提出了一种基于Java反射机制和接口技术的、动态会话外观模式的实现策略,有效的解决了由单一会话外观来封装多个EntityBean的问题。 Session facade is a classis EJB design pattern, in it's implementation, the localhome interface of entitybean is usually used as a instance variable of session facade ,which is a static encapsulation, when encapsulating many entitybeans ,the session facade will become very complex and cann't been matainced. This paper contributes a dynamical session facade design pattern strategy,which is based on Java reflection and interfce technology, and has successfially soluved the encapsulating many entitybeans by only a session facade bean.
出处 《电脑知识与技术》 2006年第8期156-157,共2页 Computer Knowledge and Technology
关键词 EJB设计模式 动态会话外观 JAVA反射 接口 EJB Design Pattems Dynamic Sessioh Facade Java Reflection Interface
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部