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

门面设计模式在J2EE中的应用
引用本文:李书刚,王乘.门面设计模式在J2EE中的应用[J].微机发展,2005,15(6):51-53.
作者姓名:李书刚  王乘
作者单位:华中科技大学水电与数字化工程学院 湖北武汉430074 (李书刚),华中科技大学水电与数字化工程学院 湖北武汉430074(王乘)
摘    要:伴随着Java在编程领域的攻城掠地,以J2EE作为开发体系的系统已经遍地开花,各种设计模式也随着J2EE的兴盛而迅速发展壮大,其中门面模式就是最为典型的一种。针对目前在J2EE中处于核心地位的EJB组件技术中经常出现的网络负担过重导致的效率低下、可复用性差、耦合性过高以及使用困难等问题,文中结合软件工程中的一种设计模式———门面设计模式对大东系统中的EJB进行了改进,从而解决了上述问题,同时给出了部分的系统实现代码。按照这种方式开发的系统有效地提高了代码的可重用性和可扩展性,并且大大缩短了研发周期,有很高的实用价值。

关 键 词:J2EE  EJB  门面模式
文章编号:1005-3751(2005)06-0051-03
修稿时间:2004年9月10日

Application of Facade Design Pattern in J2EE
LI Shu-gang,WANG Cheng.Application of Facade Design Pattern in J2EE[J].Microcomputer Development,2005,15(6):51-53.
Authors:LI Shu-gang  WANG Cheng
Abstract:With the rapid development of Java programming,systems developed by J2EE are booming.Many design patterns grow rapidly.The most typical one is facade pattern.Aiming at many problems rising in EJB which is the core of J2EE,such as the low efficiency caused by the heavy net burthen,bad reuse,high coupling and hard use,this paper references one design pattern:facade pattern and impoves on the EJBs in the system Dadong.In this way resolves the problems.The implementation based on J2EE framework is given.This method effectively improves the reusability and extensibility of code,abridges the developing time and possesses high practical value.
Keywords:J2EE  EJB  facade pattern  
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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