Research and Implementation of MVC Module Based on J2EE
- Author
- LiuHuan
- Advisor
- ChenTianHuang
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 223
- Citations
- 11
Abstract
With the widespread use of the Web technology, many enterprises hopeurgently to construct their own Web business systems. Java 2 Platform EnterpriseEdition ( J2EE ) is a standard platform provided by Sun Corporation, which supplies us with rich technical choices to develop Web-based enterprise application. A high-quality application, however, depends on the support of well-designed J2EE infrastructure. Therefore, how to use J2EE’s core technologies to design and construct a robust, scalable and reusable infrastructure of Web application remains to be a challenge we must be faced with.Struts can optimize developing Web application further as a framework of controller in common use. It offeres a flexible Model-View-Controller method to develop Java Web.It makes display and business logic separate totally, fully realize MVC model thought.It is a current mainstream to OO development approach, but most enterprise applications have to use with the relational Database frequent and mutually. So, in the environment of development of enterprise application, the mapping of object and relation is a kind of job of consuming time. Hibernate is the ORM that many programmer at present praised highly very much generally. It is the ORM of a opening source code. It carries on the object encapsulations of lightweight to JDBC. This makes Java programmers handle freely the Database by utilizing OO programming thinking.This paper mainly researched persistence technology ,that is how to mapping java objects to relational database and manage persistent objects, then designed a Struts structure consists of business logic layer and persistent layer. In this paper, the author first introduced Struts framework and its related technology. Then, ORM is represented and several kinds of java ORM techniques are compared. Next,the new ORM tool Hibernate is described in detail. Finnally, the author designed a new Struts structure with Hibernate,and realized the design in netbookstore system.
Table of contents
Summary 3-4
Abstract 4-7
Chapter 1 Introduction the background Struts arising in 7-10
1.1 < br /> 1.2 Hibernate appear 7-8
1.3 combines two technologies 8-9
1.4 The paper is organized 9-10
2 Chapter J2EE architecture and the MVC design pattern 10-14
2.1 J2EE architecture 10-11
2.2 MVC design pattern 11-12
2.3 Based on J2EE and MVC development multilayer web application 12-14
Chapter 3 Struts framework 14-27
3.1 Model 1 and Model 2 Introduction 14-15
3.1.1 Model 1
3.1.2 Model on the 14th 14-15
3.2 Struts concepts and architecture 15-18
3.3 Struts the major components the 18-22 3.3.1 ActionServlet class
18-19
3.3.2 ActionForm class 19-20 <br / > 3.3.3 Action 20-21
3.3.4 Struts configuration file 21-22
3.3.5 TagLib library and Commons Logging interface 22
3.4 Struts the workflow 22-25
3.5 Struts characteristics the 25-27 3.5.1 Struts
advantages 25-26
3.5.2 Struts drawback 26-27
Chapter 4, a new generation of ORM technology Hibernate 27-44
4.1 data persistence layer introduced 27-28 < br /> 4.2 ORM Technical Overview the ORM concept nbsp 28-34
4.2.1; the 28-30 4.2.2 advantages of using an ORM
30
Principle 4.2.3 ORM analysis 30-31
4.2.4 several Java database access technology 31-34
4.3 Hibernate 34-44 < /> 4.3.1 Hibernate Overview the the Hibernate architecture of 34-35
4.3.2 the interface 35-37
4.3.3 Hibernate several core 37-38
4.3.4 O / R Mapping foundation the 38-43 4.3.5 Hibernate
insufficient 43-44
Chapter 5 based on Struts and Hibernate the WEB application implementation 44-71
5.1 architecture design. the 44-48
5.1.1 Project Background 44
5.1.2 design requirements 44-45
5.1.3 design strategy 45-47
5.1.4 conceptual model the 5.2 detailed design of the 47-48
48 - 50
5.2.1 function of each module detailed description 48-49
5.2.2 environment configuration 49-50
5.3 Web Part Design and Implementation 50-70
5.3.1 to create a configuration file 50-52
5.3.2 business logic layer and persistence layer to achieve 52-60
5.3.3 Control component 60-67
5.3.4 view component 67-70
5.4 summarizes instance 70-71
Chapter 6 summarizes 71-72
Reference 72-74
studying for a master's degree during the academic 74-75
Acknowledgements 75
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