The Implementation of a High-performance J2EE-based Enterprise Web Application Architecture

Author
LiuYao
Advisor
LiDong , ZhuXiaoHui
School
South China University of Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
70
Citations
1

Request the full text

Abstract

With the rapid development of information technology , J2EE occupy an increasingly important position in the development of enterprise applications software . Traditional J2EE architecture is too complex , high development costs , is not conducive to the rapid development and reuse of software . Reusable , easily extensible and well-tested software components , favored by more and more developers , the industry's gradual emergence of some lightweight open source framework , Struts2, Spring, Hibernate, iBatis, JSF, and so on . These frameworks are loosely coupled , low development cost and short development cycle , widely used in the development of small and medium-sized enterprise-class applications . In this paper, these popular open source framework for analysis and research , combined with the author in multiple J2EE project development based on lessons learned in these frameworks based on integration and to achieve one applicable to small and medium-sized enterprise applications quickly develop efficient J2EE architecture , the main tasks are as follows : 1. the J2EE mainstream framework introduced and compared and analyzed Struts2, Spring and Hibernate three mainstream framework ; 2 three framework for integration : in the presentation layer using Struts2 as MVC framework to achieve intercept filters , data validation ; business layer using the Spring framework , responsible for the management , transaction management , decoupling between classes via dependency injection ; data persistence layer using Hibernate framework , using the generic basic database operations , and its secondary cache to improve system performance ; 3 architecture integrated enterprise-class application development infrastructure functions , such as web services , log , security control, etc. ; 4 . achieve reunification on the basis of integration in the framework Construction of an integrated environment . Using Maven to manage the project life cycle ; using the template technology code generation , testing framework to use mock objects and other testing tools to reduce the basis of the code written ; provided on unit testing , integration testing and functional testing support . Apply the framework to achieve a management class project , to verify that the architecture of the practical and efficient . The development results demonstrate the architecture used in the actual development environment , improve the speed of system development , optimization of the system structure , improve the maintainability and testability of the system , to reduce the risk and cost of development .

Table of contents

Abstract 5-6 ABSTRACT 6-11 first chapter 11-14 1.1 Background 11-12 1.2 research 1.3 papers organizational structure 12-14 The second chapter J2EE architecture and technology analysis 14-35 2.1 J2EE development framework for the status quo of enterprise-class 14-18 2.1.1 J2EE Overview 14-16 2.1.2 J2EE advantage 16-17 the 2.1.3 an EJB exist problems 17-18 2.1.4 open source J2EE framework 18 2.2 Web tier framework 18-25 2.2.1 MVC design pattern outlined 18-20 2.2.2 Web tier framework 20-21 2.2.3 Struts2 Framework Overview 21-24 2.2.4 Struts2 advantages 24-25 2.3 framework of the business logic layer 25-28 2.3.1 Spring Introduction 25-27 the 2.3.2 Spring's advantage 27-28 2.4 persistence layer framework 28-32 2.4.1 Data Persistence and ORM 28 2.4.2 ORM framework 28-29 2.4.3 Hibernate Overview 29-32 2.4.4 Hibernate's advantage 32 2.5 other technologies and components 32-35 2.5.1 security framework 32-33 2.5.2 project to build 33-35 Chapter efficient enterprise-class Web application architecture to achieve 35-64 3.1 Architecture Overview 35-36 3.2 architecture overall design 36-42 3.2.1 Struts2 with Spring integration 38-39 3.2.2 Hibernate and Spring integration 39-41 3.2.3 framework to integrate the advantages 41-42 Design and Implementation of the 3.3 Web layer 42-45 3.3.1 business controller 43-44 3.3.2 Web tier tools with Ajax 44-45 Design and Implementation of the 3.4 persistence layer 45-48 3.4.1 Generic Dao mode 45-47 3.4.2 secondary cache 47-48 Design and Implementation of the 3.5 business layer 48 3.6 basic functionality 48-52 3.6.1 security control 48-49 3.6.2 Web service 49-50 3.6.3 timing tasks 50-52 3.6.4 log management 52 3.7 build and integration 52-55 3.7.1 Maven build management 52-55 Design and Implementation 3.8 code generation 55-58 3.9 testing framework to achieve 58-64 3.9.1 unit test 58-59 3.9.2 Integration Testing 59-61 3.9.3 Functional Test 61-64 architecture design 64-75 4.1 Project Overview 64-65 4.1.1 Project Background 64- 4.1.2 project functions and modules 64-65 the 4.1.3 project involves technology and operating environment 65 4.2 development model 65-67 4.2.1 development process 65-66 4.2.2 Coding and Practice 66-67 4.3 hierarchical design implementation 67-75 4.3.1 persistence layer of realization 67-70 4.3.2 business layer implementation 70-71 4.3.3 Web layer implementation 71-75 Chapter Summary and Outlook 75-76 the References 76-78 Acknowledgements 78

Related dissertations

  1. Research and Application Based on SSH2and JBPM for J2EE Develop Platform
    DingZhiYi ·Northwest Normal University ·2013 ·Master's thesis
  2. The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
    MaHuiBin ·Chang'an University ·2013 ·Master's thesis
  3. The Design and Implementation of Vehicle Tracking Management System
  4. Design and Implementation of Small Business Human Resource Management Information System
  5. Design and Implementation of the Manufacturing Enterprise OA System Based on SSH2Framework
  6. Design and Implementation of High Performance Computing Service Management Platform Based on JavaEE
    YuJun ·South China University of Technology ·2013 ·Master's thesis
  7. The Design and Implementation of College Students' Party Information System Based on the SSH
  8. The Design and Implementation of Tobacco Platform of Quality Management Based on JavaEE
  9. The Design and Implementation of Online Bookstore
    GaoHao ·Beijing University of Technology ·2012 ·Master's thesis
  10. Design and implementation of student network report system based on Lightweight Framework
    LiuJia ·University of Jinan ·2012 ·Master's thesis
  11. The Design and Implementation of Printing and Dyeing Production Information System Based on S2SH
  12. Application and Study of Ssh Frame Techlology in the Supermarket Management System
    HeYanFang ·Hunan University ·2011 ·Master's thesis
  13. Design and implementation of SSH2 framework based on internal OA system of Jiangxi Construction Bank
  14. The Development of Agent Order Management System Based on J2EE
    YinLiangQun ·Northeast University of Petroleum ·2013 ·Master's thesis
  15. The Design and Implementation of the Online Business Competition System of PBCBased on SSH2
    GuoKeYing ·Shandong University ·2013 ·Master's thesis
  16. Information Release Platform of Auto Parts Based on J2EE
  17. The Design and Accomplishment of College Financial Management System for Tianjin University
    TianXiaoQing ·Tianjin University ·2012 ·Master's thesis
  18. Design of Secure E_acution System Based on JavaEE Lightweight Framework
    JieZhi ·Wuhan Polytechnic University ·2012 ·Master's thesis
  19. Design and Implementation of Energy Measurement System for the Steel Manufacture
  20. Design and Implementation of Highway Toll Management System Based on Java EE