The Research and Application of Struts and Hibernate in OA System

Author
NiJun
Advisor
XueShengJun
School
Wuhan University of Technology
Major
Applied Computer Technology
Classification
TP317.1 Office automation system
Degree
Master's thesis
Year
2007
Downloads
168
Citations
5

Request the full text

Abstract

Recently, the rapid development of network and the extensive adoption of J2EE platform make multi-layer web structure based on B/S mature and develop progressively, which provides a strong technical basis for Web Application. Apache Struts is a classical web framework, which is based on J2EE platform and implements the MVC design pattern. It gives the controller component of its own and integrates some technologies of J2EE to implement the model component and view component. It can separate the controller and display of the data effectively, overcome the defects of traditional development method, eases the burden of constructing mufti-layer Web applications and provides reusable software architecture; it offers strong and stable service for developing and disposing enterprise application.ORM means object-relational mapping. It is an important technique in object-oriented designing. Hibernate is an ORM tool for java environment. It manages the mapping from java classes to database tables and the operation of persistent objects. Thus, Java programmers can freely manipulate database by object programming idea, as well as pay attention to object programming and class programming in oder to solve the operation problems. Hibernate becomes the best tool of OR Mapping and gets the more and more programmers’ love.Firstly, the thesis introduces the J2EE and MVC model. The architecture and principles of the Struts framework are also introduced in the paper. Secondly, the thesis provides the conception of data persistence layer and introduces the basic knowledge of the Hibernate. Thirdly, the development methods of the Struts and Hibernate are analyzed by taking an OA system of ShuGuang Company of ZhaoWei Group as an example. At last, the paper discusses the features of the Struts and Hibernate and summarized some experiences during the project development. It is indicated that the framework of the Struts and Hibernate provided in the paper can raise the development efficiency in OA sytem and meet the demands of the scalability and maintainability of a system.

Table of contents

Abstract 3-4 Abstract 4-7 Chapter 1 Introduction 7-13 1.1 research background 7-10 1.1.1 Technical Background 7-8 1.1.2 Project Background 8-10 1.2 Research topics 10-11 1.3 purpose and significance of 11-12 1.4 This major work done 12-13 Chapter 2 J2EE Overview 13-18 2.1 J2EE concepts 13 2.2 J2EE architecture 13-15 2.3 J2EE core technology 15-18 Chapter 3 Struts framework based on MVC pattern outlined 18-31 3.1 MVC design pattern 18-23 3.1.1 Mode Overview 18-19 3.1.2 MVC pattern 19-21 3.1.3 JSP Model1 and Model2 21-23 3.2 Struts framework 23-31 3.2.1 Framework Overview 23-24 3.2.2 Struts MVC implements mechanisms 24-26 3.2.3 Struts basic components 26-29 3.2.4 Struts workflow 29-31 Chapter 4, based on O / R Mapping Hibernate framework 31-42 4.1 persistence layer source 31-32 4.2 O / R technology 32-33 4.3 persistence layer solutions compare 33-35 4.3.1 Object Serialization 33 4.3.2 JDBC 33-34 4.3.3 CMP 34 4.3.4 JDO 34 4.3.5 Hibernate 34-35 4.4 Hibernate Framework 35-42 4.4.1 Hibernate ORM mechanism to achieve 35-36 4.4.2 Hibernate principle 36-37 4.4.3 Hibernate Core Interface 37-38 4.4.4 object lifecycle 38-40 4.4.5 Data query mechanism 40-42 Chapter 5 System features and its implementation 42-68 5.1 Introduction 42-43 5.2 system design 43-46 5.2.1 Requirements Analysis 43 5.2.2 System Role 43-45 5.2.3 System Flow 45-46 5.3 Functional design 46-47 5.3.1 Business Sales subsystem 46 5.3.2 business office subsystem 46-47 5.4 database design 47-49 5.5 design 49-51 5.6 detailed system design 51-62 5.6.1 Presentation Layer 51-52 5.6.2 control processing layer 52-54 5.6.3 Yewuluojiceng 54-55 5.6.4 Business persistence layer 55-59 5.6.5 Architecture workflow 59-62 5.7 System Features 62-63 5.8 running interface 63-68 Chapter 6 Summary and Outlook 68-70 References 70-73 Thanks 73-74 master's degree papers published during the 74

Related dissertations

  1. Retailers Membership Card Management System Design and Implementation
  2. Design of the Jiujiang Institute of Financemanagement System
  3. Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
  4. B/S Based Online Book System Management Module Design and Implementation
    HuQiaoLing ·Jiangxi Agricultural University, ·2012 ·Master's thesis
  5. Design and Implementation of Grouting-Management Information System Based on Struts and Hibernate
    LiuShuWen ·Tianjin University ·2012 ·Master's thesis
  6. Research and Implementation of a Human Resource Management System Based on XX Company
  7. Research and Design of SSH-based University Equipment Share Management Platform
    YanZePing ·Anhui University ·2013 ·Master's thesis
  8. Design and Implementation of Material Management System
  9. The Design and Implementation of Housing Rental Information Management System Based on J2EE
  10. Design and Implementation of Community Information Service Platform: iHOM
  11. The Design and Implementation of a Management Platform of Service in the Catering Industry Based on SSH2Frame Mode
    MaXuan ·Lanzhou University ·2012 ·Master's thesis
  12. Design and Implementation of Office Automation System for Dongyuan Company
  13. Design and Realization of Web Application Based on Struts and Hibernate
    DuWenYi ·Wuhan University of Technology ·2008 ·Master's thesis
  14. Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
  15. Design and Implementation of Fire Police Dispatch System Based on Java Technology
  16. The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
  17. Design and implementation of no warehousing logistics management platform based on SSH
  18. Design and Implementation of University Student Information Management System Based on MVC and ExtJS
    GuLiYe ·Dalian University of Technology ·2013 ·Master's thesis
  19. Reseach on Marching-on In-Time Scheme and the Fast Algorithm of Time Domain Integral Equation
  20. Design and Implementation of University Student Employment Information Sharing Platform of Cucn