用户名: 密码: 验证码:
一种基于ES2SH框架的Java EE应用架构
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:An Architecture of Java EE Application Based on ES2SH Framework
  • 作者:欧阳宏基 ; 李红 ; 宋笑雪
  • 英文作者:OUYANG Hongji;LI Hong;SONG Xiaoxue;School of Computer,Xianyang Normal University;Ministry of Education Key Lab of Intelligent Perception and Image Understanding,Xidian University;
  • 关键词:Java ; EE应用 ; Easy ; UI框架 ; Struts ; 2框架 ; Spring框架 ; Hibernate框架
  • 英文关键词:Java EE application;;Easy UI framework;;Struts 2 framework;;Spring framework;;Hibernate framework
  • 中文刊名:SYSY
  • 英文刊名:Research and Exploration in Laboratory
  • 机构:咸阳师范学院计算机学院;西安电子科技大学智能感知与图像理解教育部重点实验室;
  • 出版日期:2018-10-15
  • 出版单位:实验室研究与探索
  • 年:2018
  • 期:v.37;No.272
  • 基金:陕西省科技厅自然科学基础研究计划面上项目(No.2017JM6086);; 陕西省教育厅专项科研计划项目(17JK0828);; 陕西省教育科学“十三五”发展规划项目(SGH16H189)
  • 语种:中文;
  • 页:SYSY201810035
  • 页数:7
  • CN:10
  • ISSN:31-1707/T
  • 分类号:157-162+167
摘要
传统Java EE应用开发以重量级EJB为核心,具有容器依赖性高、开发和部署难度大、不便于扩展等缺点。为了提高Java EE应用的开发效率、维护性和扩展性,改善用户体验,提出一种基于ES2SH框架的Java EE应用架构。该架构基于MVC设计模式,利用Easy UI框架构建表示层,Struts2框架构建控制层,使用JSON格式在表示层与控制层传输数据。利用Spring框架构建业务逻辑层,利用Hibernate框架构建数据持久层,通过IOC容器管理控制层、业务层和数据持久层组件的依赖关系,采用XML文件+注解的方式进行Struts2、Spring和Hibernate的整合。将该架构应用到高等院校目标考核管理系统的实施中,按照Java EE分层开发方法进行系统设计,对其关键技术进行了探讨,通过实践证明了该架构的有效性。
        The traditional Java EE application development is based on heavyweight EJB,which has the disadvantages of high container dependence,great difficulties in development and deployment,and is not easy to expand. In order to improve the efficiency,maintainability and extensibility of Java EE application,and improve the user experience,an architecture of Java EE application based on ES2 SH framework is proposed. The architecture is based on MVC design patter,it uses the Easy UI to build the presentation layer,uses the Struts 2 framework to build the control layer,and uses the JSON format to transmit data at the presentation layer and the control layer. It also uses the Spring framework to build the business logic layer,the Hibernate framework to build the data persistence layer,the components dependencies of the control layer,business layer. The data persistence layer is managed through the IOC container,the method of XML files + annotations is used for the architecture's integration and development. The architecture is applied to the implementation of the target management system of colleges and universities. According to Java EE layered development method for system design,its key technologies are discussed. The effectiveness of the architecture is proved through practice.
引文
[1]李文鹏,王建彬,林泽琦,等.面向开源软件项目的软件知识图谱构建方法[J].计算机科学与探索,2017,11(6):851-861.
    [2]杨芙清,梅宏,李克勤.软件复用与软件构件技术[J].电子学报,1999,27(2):68-75.
    [3]吴金平,史扬,王永洁.潜艇战/反潜战建模与仿真EJB组件设计与开发[J].系统仿真学报,2014,26(7):1482-1486.
    [4]甘文丽,王岚.基于轻量级Java EE框架的高校招投标管理系统[J].实验室研究与探索,2012,31(11):182-185.
    [5]钱哨,陈丹.基于JSON数据格式的飞机协同设计应用适配器[J].计算机与现代化,2016,(8):123-126.
    [6]苗杰.基于Easy UI框架与Spring MVC框架的权限管理系统的设计与实现[J].电脑知识与技术,2015,11(15):53-55.
    [7]申斌,李利民.基于MVC模式S2SH框架的库存管理系统[J].实验室研究与探索,2014,33(11):113-117.
    [8]霍迎秋,唐晶磊,尹秀珍.基于SSH架构的农产品信息交换平台[J].实验室研究与探索,2013,32(5):63-66.
    [9]邱丽丽,陆源.基于ExtJS和SSH2架构的网上报销系统设计与实现[J].计算机应用与软件,2016,33(9):76-79.
    [10]姜林美,李国刚,杜勇前.结合AOP思想和依赖注入技术的轻量级MVC框架[J].华侨大学学报(自然科学版),2016,37(1):92-97.
    [11]欧阳宏基,葛萌.基于Struts2与Hibernate框架的Java Web应用研究[J].自动化技术与应用,2016,35(2):48-52.
    [12]赵喆,卞艺杰,李亚冰,等.基于S2SH和SOA科技查新管理平台的设计[J].武汉理工大学学报(信息与管理工程版),2013,35(1):56-60.
    [13]黄索.基于Annotation的Java单元测试框架[J].计算机与数字工程,2010,38(1):99-102.
    [14]刘红霞,陆文迪.改进的MVC设计模式的研究与应用[J].计算机工程与科学,2015,37(9):1688-1691.
    [15]梁弼. SSH框架整合技术研究及应用[J].西安文理学院学报(自然科学版),2011,14(3):16-19.
    [16]李雷孝,谢芳,刘晓军,等. SSH整合框架的研究与应用[J].内蒙古工业大学学报,2012,31(2):40-44.
    [17]贾松浩,杨彩,刘军.基于S2SH框架的个性化实验室管理系统[J].实验室研究与探索,2014,33(8):232-234.
    [18]欧阳宏基,葛萌.基于S2SH框架的煤炭企业生产统计管理系统[J].计算技术与自动化,2015,34(3):118-122.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700