首页 | 本学科首页   官方微博 | 高级检索  
     

EJB中的Facade模式原理
引用本文:须文波,黄渌.EJB中的Facade模式原理[J].计算机工程与设计,2004,25(12):2185-2187.
作者姓名:须文波  黄渌
作者单位:江南大学,信息工程学院,江苏,无锡,214036
摘    要:J2EE是Sun公司提出的开发和运行企业级Web应用的标准,可以用于开发大型的、多层次的以及分布式的企业级Web应用系统。EJB的设计是J2EE应用设计中的核心模块,它强调的是可复用性、可维护性、可移植性等。目前,EJB的设计模式有几十种,如何选择适合自己项目的模式是EJB设计的关键问题,Facade模式是EJB中广泛使用的一种模式,介绍了EJB中Facade模式的两种实现——Session Facade和Message Facade,以及设计和使用Facade模式的一些规则。

关 键 词:EJB  J2EE  企业级  Web应用系统  可移植性  可复用性  设计模式  Sun公司  项目  关键问题
文章编号:1000-7024(2004)12-2185-03

Facade pattern principle of EJB
XU Wen-bo,HUANG Lu.Facade pattern principle of EJB[J].Computer Engineering and Design,2004,25(12):2185-2187.
Authors:XU Wen-bo  HUANG Lu
Abstract:J2EE is the standard of developing and running enterprise web application which is issued by Sun Co Ltd, and it can be used to develop multilayer and distributed enterprise web application. The design of EJB is the core module of J2EE application. It stresses reusable, maintainability, transplantable, etc. Now, the design patterns of EJB has a lot of kinds, and how to choose the suitable patterns is the key problem of designing of EJB, so facade pattern is a widely used pattern in EJB. Two realizations of facade pattern in EJB-session facade and message facade are introduced, and some rules in designing and using facade pattern are presented.
Keywords:EJB  design pattern  session facade  message facade  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号