计算机工程与应用 ›› 2008, Vol. 44 ›› Issue (5): 115-118.

• 研发、测试 • 上一篇    下一篇

基于Spring框架的轻量级J2EE架构与应用

胡启敏1,2,薛锦云1,2,钟林辉1   

  1. 1.江西师范大学瑶湖校区 计算机信息工程学院,南昌 330022
    2.中国科学院 软件研究所 计算机科学重点实验室,北京 100080
  • 收稿日期:2007-04-18 修回日期:2007-09-20 出版日期:2008-02-11 发布日期:2008-02-11
  • 通讯作者: 胡启敏

Lightweight J2EE architecture based on spring framework and its application

HU Qi-min1,2,XUE Jin-yun1,2,ZHONG Lin-hui1   

  1. 1.College of Computer Information Engineering,Jiangxi Normal University,Nanchang 330022,China
    2.Laboratory of Computer Science,Institute of Software,Chinese Academy of Sciences,Beijing 100080,China
  • Received:2007-04-18 Revised:2007-09-20 Online:2008-02-11 Published:2008-02-11
  • Contact: HU Qi-min

摘要: 合理的J2EE架构设计方案对J2EE应用系统的开发至关重要。Spring框架包含依赖注入方式的构件组装机制、统一的事务和日志管理服务等,为搭建轻量级的J2EE架构提供了有力的支持。介绍Spring框架的体系结构,将基于Spring框架的J2EE架构与其他几种J2EE架构进行对比分析,最后给出一个运用该架构方案解决的实例。

关键词: Spring框架, J2EE, 依赖注入, 轻量级

Abstract: Choosing a reasonable J2EE architecture is very important for application development.The techniques Spring framework provides,such as dependency injection features component assembly,transaction and log management,etc.can sustains lightweight J2EE architecture.This paper introduces the Spring framework and compares lightweight J2EE architecture based on Spring framework with other J2EE architectures and gives a case of its application finally.

Key words: Spring framework, J2EE, dependency injection, lightweight