Research on Enterprise Web Application Framework Based Struts+Spring+Hibernate

Author
WangJun
Advisor
WuGuoFeng
School
Hefei University of Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
819
Citations
19

Request the full text

Abstract

With the growing popularity of the Internet , Web application in the information systems more and more important , the future direction of development is a large number of PC applications quickly migrated to the Web , MIS also migrate to the B / S model by the C / S mode . B / S structure of Web - based applications also become the most widely used on the Internet application development technology . The J2EE platform matures , provide a wider space for the further development of Web applications . N-tier architecture based on J2EE Web system is roughly divided into three layers : the presentation layer , business layer and data persistence layer . The traditional JavaWeb development requires developers to spend a lot of time and effort to design and develop their own framework . This paper introduces the open source Struts presentation layer framework , Spring business layer framework , Hibernate data persistence layer framework . Struts is an implementation of the MVC design pattern , makes the application logic , process and display logic into different components . Two core mechanisms of the Spring : IoC ( Inversion of Control ) to reduce the coupling of the components of the business ; AOP ( aspect-oriented programming ) makes business-related modules are separated . Hibernate is an object / relational database mapping tool ( O / R Mapping ) , which coordinated the object model and SQL relational model does not match the impedance between . The main work and solve problems , including : 1 . Framework of the use Struts build enterprise Wel5 applications presentation layer , and Struts framework control layer in action to do the improvement of the coarse-grained achieve a combineAction instead of an entity class action . 2. Spring IoC and AOP mechanisms to achieve the business layer of enterprise-class Web applications . 3. Use Hibernate to build enterprise-class Web applications , data persistence layer , Hibernate session is closed in the development process and delay the loading problem , given the system analysis and reasonable solutions . The research background project is the development of agricultural projects for the Ministry of Agriculture building information systems , the system has been successfully applied Struts Spring Hibernate composite frame . The sixth, seventh chapter focuses on the design and realization of the SSH composite frame information system of agricultural projects .

Table of contents

Abstract 5-6 Abstract 6-12 first chapter 12-17 1.1 Background papers 12-14 1.1.1 traditional C / S mode and its limitations 12-13 1.1.2 B / S mode and superiority 13-14 1.2 Research 14-16 1.3 dissertation contents and significance 16 1.4 papers organizational structure 16-17 Chapter II software architecture Structure and WEB application system architecture 17-23 2.1 software architecture and model 17-18 2.1.1 software architecture 17 <br / > 2.1.2 Mode 17 2.1.3 software architecture model 17-18 2.2 WEB application architecture and framework 18-22 2.2.1 J2EE architecture 19-20 2.2.1.1 J2EE Technology Overview 19 2.2.1.2 J2EE four-layer model 19-20 < br /> 2.2.2 enterprise-class Web application level classification 20-21 2.2.2.1 Jsp Model 1 20 2.2.2.2 Jsp Model 2 20-21 2.2.2.3 hierarchical development 21 2.2.3 Framework 21-22 2.3 This chapter summarizes 22-23 <br / > Chapter STRUTS-based presentation layer framework 23-28 3.1 MVC design pattern 23-24 3.1.1 MVC design pattern advantage 24 < br /> 3.1.2 MVC design pattern deficiencies 24 3.2 layer based on the WEB STRUTS framework 24-27 3.2.1 Struts overview 24 - 25 3.2.2 Struts architecture 25-26 3.2.3 Struts workflow 26-27 3.3 This chapter summarizes 27 - Chapter 28 SPRING-based business layer framework 28-34 4.1 SPRING framework outlined 28-29 4.2 Inversion of Control / Dependency Injection pattern 29-30 4.3 SPRING BEAN encapsulation mechanism 30-32 4.4 AOP and SPRING AOP 32-33 4.4.1 AOP overview and Benefits 32-33 4.4.2 Spring's AOP application 33 4.5 This chapter summarizes 33-34 fifth chapter is based on the data persistence HIBERNATE layer framework 34-39 5.1 HIBERNATE with O / R MAPPING 34-35 5.2 HIBERNATE architecture 35-36 5.3 HIBERNATE operating mechanism 36-37 5.3.1 Configuration 36-37 5.3.2 SessionFactory 37 5.3.3 Session 37 5.4 HIBERNATE the O / R MAPPING 37 5.5 HIBERNATE operating persistent data 37-38 5.6 This chapter summarizes 38-39 first six chapters of the WEB-based SSH framework projects in the agricultural information system application 39-48 6.1 System Overview 39 6.2 system requirements analysis 39 - 42 6.2.1 project examination and approval subsystem 40 6.2.2 Project implementation and management subsystem 40-42 6.2.3 Project supervision and inspection subsystem 42 6.3 System Functional Analysis 42-44 6.4 overall system design 44-47 6.4.1 basic data maintenance system 44 6.4.2 Safety Control System 44-45 6.4.3 core business systems 45 6.4.4 Reporting System 45-47 6.5 Chapter Summary 47-48 Chapter VII of the WEB-based SSH framework for implementation 48-66 7.1 SSH framework for integration 48-49 < br /> 7.1.1 SSH framework portfolio 48 7.1.2 SSH framework workflow 48-49 7.2 STRUTS achieve the performance level 49-53 7.2.1 Struts framework to achieve 49-52 7.2.1.1 Struts-config.xml 49-50 7.2.1.2 MVC pattern View: Login . jsp 50-51 7.2.1.3 MVC pattern Module: LoginAction.java 51-52 7.2.2 Struts framework to improve 52-53 < br /> 7.2.2.1 of the problem as well as improved methods 52 7.2.2.2 CombineAction operating mechanism 52-53 7.3 SPRING achieve business layer 53 -58 7.3.1 Decoupling business logic objects 54-55 7.3.2 Spring AOP implementation 55-58 7.3.2.1 aspects of decomposition to identify target audiences 55-56 7.3.2.2 achieve an advice 56 7.3.2.3 aspects of re-weaving 56-58 7.4 HIBERNATE achieve data persistence layer 58-65 7.4.1 Hibernate framework to achieve 58-60 7.4.1.1 data persistence layer objects 58-59 < br /> 7.4.1.2 Hibernate mapping file frame 59-60 7.4.1.3 Hibernate mode of operation of the DAO 60 7.4.2 Hibernate problems encountered in the implementation process their solutions 60-64 7.4.2.1 Hibernate's session 60-61 7.4.2.2 Hibernate data objects three states 61-62 7.4.2.3 Hibernate lazy loading issues 62-64 7.4.3 Hibernate lazy loading solutions to problems 64-65 7.5 Chapter Summary 65-66 Chapter ends with Outlook 66-68 8.1 paper summarizes 66 8.2 requires further problems 66-68 References 68-71 papers published during the master's degree and participation in projects 71-72 1. papers 71 < br /> 2. participate in the project 71-72 Appendix: STRUTS ACTION improvements COMBINEACTION code 72-76

Related dissertations

  1. Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
  2. Retailers Membership Card Management System Design and Implementation
  3. The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
  4. Design and implementation of no warehousing logistics management platform based on SSH
  5. The Research and Application of Web Framework based on Lightweight J2EE
    ZengGuangPing ·Sun Yat-sen University ·2013 ·Master's thesis
  6. Design and Implementation of University Student Employment Information Sharing Platform of Cucn
  7. Design and Implementation of Personnel Management System
  8. Design and Implementation of Management Information System of Public Security Bureau of Changsha City
  9. Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
  10. Research and Implementation of a Human Resource Management System Based on XX Company
  11. The Design and Implementation of Agricultural Information Service Platform of Wei Fang City
    TaoHuaXian ·Shandong University ·2013 ·Master's thesis
  12. The Design and Implementation of Tobacco Monopoly Bureau Internal Control Information System for Shandong Province
    TangZhenFeng ·Shandong University ·2013 ·Master's thesis
  13. The Design and Implementation of Contingency Plans and Resources Management System for Shijiazhuang City
    GongZuo ·Shandong University ·2013 ·Master's thesis
  14. The Implementation of Office Automation Based on Osworkflow and Open Source Frame
  15. The Design and Implementation of Apartment Security Management System for Qujing City Kirin Area
    RenHaoRan ·Shandong University ·2013 ·Master's thesis
  16. Research and Design of SSH-based University Equipment Share Management Platform
    YanZePing ·Anhui University ·2013 ·Master's thesis
  17. The Design and Implementation of Data Center Management Platform Based on FLEX Technology
    GangJinJin ·Anhui University ·2014 ·Master's thesis
  18. The Design and Implementation of Housing Rental Information Management System Based on J2EE
  19. The Application of an Improved Access Control Model in Authority Management Module
    HuangYi ·Hunan University ·2010 ·Master's thesis
  20. The Design and Implementation of Site Information Management System for 3G Network