The Design and Implementation of Kkrws System Based on Struts and Hibernate
- Author
- LuoZuo
- Advisor
- GuoWenMing
- School
- Beijing University of Posts and Telecommunications
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 171
- Citations
- 1
Abstract
In recent years, the network technology has been developed quickly and the platform of J2EE (Java 2 Platform Enterprise Edition) has been adopted extensively. And the multi-layer web architecture based on B/S pattern discards disadvantages which the design pattern in traditional web application has. It separates the control of the data and the view of the data so as to meet the demand to the multi-layer web application complicated more and more. So MVC pattern is the best choice to develop the J2EE web application.Apache struts framework based on the J2EE platform, is a typical framework to implement the Model-View-Controller (MVC) design pattern. Model is made up of JavaBean or EJB that implement the business logic. Controller is constituted by Action Servlet and Action. A group of JSP files constitute view. The framework lightens the burden to construct the multi-layer web application and provides components which can be reused. The design of the struts-config.xml and the configuration file is an important part for the struts framework. Struts provides controller component and integrates other related technologies to implement the model component and view component of MVC pattern. Struts are fit for all kinds of projects especially for large ones which can embody more advantages of struts.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. So, Java programmers can freely manipulate database by object programming idea, as well as pay attention to object programming and class programming, and solve the operation problems. Hibernate becomes the best tool of O-R Mapping and get the more and more programmers’ love.This thesis firstly described the architecture and principle of Struts framework basing on the introducing of J2EE and MVC model. Secondly, through raising the conception of data persistence layer, this thesis introduced the basic knowledge of Hibernate. Thirdly, through an example of applying struts and Hibernate framework to Kkrws System. This thesis also analyzed in detail the design and implementation of this system. At end, it summarized the experiences in the project development.
Table of contents
Abstract 4-6
ABSTRACT 6-10
first chapter 10-14
1.1 Background topics 10-11
1.2 research purpose and meaning 11-12
1.3 Project Research 12-13
1.4 In this paper, the main content 13
organizational structure
1.5 papers 13-14
second chapter topics related technology framework and structure 14-42
2.1 J2EE architecture 14-20
2.1.1 J2EE Technical Overview 14-15
2.1.2 J2EE framework 15-16
2.1.3 multilayer system structure 16-17
2.1.4 standard J2EE software architecture and lightweight J2EE software architecture comparison between 17-20
2.2 MVC design pattern 20-26
2.2.1 MVC design pattern outlined 20-22
2.2.2 Web system general application development model 22-24
2.2.3 MVC design pattern in J2EE platform model 24-25
the
advantages and disadvantages 2.2.4 MVC design pattern 25-26
2.3 Struts the application framework 26-35
2.3.1 application framework description 26
2.3.2 Struts origin of 26-27
2.3.3 Struts systems structure 27-28
2.3.4 Struts components 28-34
2.3.5 Struts workflow 34-35
2.4 ORM Overview and Hibernate framework 35-42
2.4.1 data persistence layer introduced 35-36
2.4.2 Hibernate described 36-37
2.4.3 ORM Overview 37-38
2.4.4 Hibernate architecture 38
2.4.5 Hibernate programming interface 38-42
system needs analysis and overall design 42-61
3.1 Introduction 42
3.2 needs analysis 42-44
3.3 system overall design 44-50
3.3.1 Design 44-46
3.3.2 Overall design 46-49
3.3.3 Functional Design 49-50
3.4 Database Design and Implementation 50-55
3.4.1 database table design and function 50
3.4.2 table relationship diagram 50-51
3.4.3 Starting task book entry system of the basic structure of the corresponding data table 51-55
3.5 user interface design 55-61
the commencement task book entry system detailed design and implementation 61-72
4.1 user presentation layer 61-63
4.2 data persistence layer 63-67
4.3 Business Logic Layer 67-68
the 4.4 control processing layer 68-72
Chapter Summary 72-73
5.1 This article Summary 72
5.2 project implementation experience 72-73
the
References 73-74
Acknowledgements 74
Related dissertations
- Retailers Membership Card Management System Design and Implementation
- Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
- Research and Implementation of a Human Resource Management System Based on XX Company
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- Design and Implementation of Fire Police Dispatch System Based on Java Technology
- The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
- Design and Implementation of University Student Employment Information Sharing Platform of Cucn
- Design of the Jiujiang Institute of Financemanagement System
- Design and Implementation of Intelligent Management System of Assets
- B/S Based Online Book System Management Module Design and Implementation
- Design and Implementation of Grouting-Management Information System Based on Struts and Hibernate
- The Design and Implementation of Contingency Plans and Resources Management System for Shijiazhuang City
- Research and Design of SSH-based University Equipment Share Management Platform
- Design and Implementation of Material Management System
- The Design and Implementation of Material Supply Managerment in Fengfeng Group
- The Design and Implementation of Housing Rental Information Management System Based on J2EE
- Design and Implementation of Community Information Service Platform: iHOM
- The Design and Implementation of a Management Platform of Service in the Catering Industry Based on SSH2Frame Mode
- Design and Implementation of Office Automation System for Dongyuan Company
- Design and Implementation of a Supply Chain System for Manufactural Enterprise