SEA  >> Vol. 1 No. 2 (December 2012)

    J2EE架构的模板化设计与实现
    Template Designation and Implementation of the J2EE Architecture

  • 全文下载: PDF(398KB) HTML   XML   PP.24-30   DOI: 10.12677/SEA.2012.12005  
  • 下载量: 3,570  浏览量: 11,217  

作者:  

孙元鹏:深圳市振华微电子有限公司,深圳;
陈文宇,吴永强,李维顺,郭凌立:电子科技大学计算机学院,成都

关键词:
J2EE轻量级框架泛型 J2EE; Lightweight Framework; Generic

摘要:

在传统轻量级J2EE分层架构的基础上,利用泛型与反射技术在业务层和数据访问层设计模版化的操作模块,可以为其具体领域对象模块提供公共操作逻辑。本文提出模版化构架方式,不仅避免了每个领域模块相似逻辑的重复编写,提高开发效率,而且统一的操作策略增强了应用的健壮性、可维护性、能灵活应对需求的总体变动。模版化构架方式,对改进与完善基于开源框架的J2EE架构进行了一定的探索,应用此种架构对业务逻辑相对单一简单的应用开发具有一定的指导意义。

On the basis of the lightweight layered architecture of the traditional J2EE, a template of the operating module is designed by using generic and reflection in the business and data access layer, providing a common operation logic to the module of specific domain object. Through this template designation, it not only can avoid the repeated writing the similar logic of each domain module, but also is conducive to the robustness, maintainability of the system, and flexibility to the changes of whole business needs. Template structure can improve and perfect the traditional J2EE architecture based on the open source framework. Utilizing the architecture in the application whose business logic is relatively simple and single has some guiding significance to the J2EE development.

 

文章引用:
孙元鹏, 陈文宇, 吴永强, 李维顺, 郭凌立. J2EE架构的模板化设计与实现[J]. 软件工程与应用, 2012, 1(2): 24-30. http://dx.doi.org/10.12677/SEA.2012.12005

参考文献

[1] E. R. Collins, Jr., Y. Huang. A programmable dynamometer for testing rotating machinery using a three-phase induction machine. IEEE Transactions on Energy Conversion, 1994, 9(3): 521- 527.
[2] M. Cai, Y. Y. Cheng. Research and application of J2EE platform. Computer Application and Software, 2004, 21(1): 42-43, 128.
[3] X. J. Zhou, X. Zou. Research on J2EE-based enterprise application architecture. Hong Kong: Proceedings of 2010 Ninth International Symposium of Distributed Computing and Applications to Business Engineering and Science (DCABES), August 2010: 431-434.
[4] R. Johnson. J2EE development frameworks. Computer, 2005, 38(1): 107-110.
[5] R. W. Clay, A. Donald and S. Scot. Professional Java JDK (6th edition). Weston: Wiley Publishing, 2007.
[6] Fang Cheng. A new Dao pattern with dynamic extensibility. Manchester: Proceedings of the 2nd Inter-national Conference of Information and Computing Science (ICIC’09), May 2009, 1: 23-26.
[7] A. Mukherjee, Z. Tari and P. Bertok. A spring based framework for verification of service composition. Washington DC: Proceedings of 2011 IEEE International Conference of Services Computing (SCC), July 2011: 258-265.
[8] H. L. Pan, W. R. Jiang and S. W. Lin. Research on collaboration software based on JBPM and lightweight J2EE framework. Guangzhou: Proceedings of 2010 International Conference of E-Business and E-Government (ICEE), May 2010: 191-194.