Research and Design of System Framework Based on the MVC Design Pattern
- Author
- WuAn
- Advisor
- ZhaoYueHua
- School
- Jiangsu University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 335
- Citations
- 12
Abstract
The research of software development framework is the subject which is most concerned by software developers.The framework provides a new way to software reuse in large scale and promotes the software development efficiency.One good design pattern,as well as,a reusable software architecture becomes the key factor to promote the software development efficiency and software quality.So,how to build a sturdy and stable framework is the aim of many software architecture experts.First,this thesis studies the multi-tier architecture J2EE platform and its defects.Then,it displays the MVC design pattern.At the same time,it analyses the Struts,Spring and Hibernate architecture which are the members of open source project.Then,it designs the combination of the three frameworks called SSH framework.In the SSH framework,each of the three frameworks can show its own superiority at the right tier that played in the multi-tier Web application architecture,Struts take charge of the presentation tier,Spring takes charge of business logic tier,Hibernate takes charge of data persistence layer tier.We use Spring IoC and AOP technology to combine the frameworks together,then the problems brought by the high complexity of the system structure during Web application system development are solved.During the combination,it uses the modified class DelegatingStruts to improve the demployment procedure.The thesis depicts the design procedure of the Government Information Publicity System and how apply the multi-tier Web application architecture SSH framework to it.Based on the designed framework,taking the implement procedure of domain model tier,representation tier, business tier and data persistent tier on article management module.At the same time,giving the deployment method of struts-config.xml and applicationContext.xml which are the most important part of service deployment.At last,we give one of the modules’ implement as the example.The most important thing is to demonstrate how to combine Spring,Struts and Hibernate together by IoC and AOP technology making the coupling among the tiers and the frameworks reduced.The results indicate the SSH framework has its own universal property and can make the development more effective,transplant and maintain.
Table of contents
Summary 5-6
ABSTRACT 6-10
Chapter 1 Introduction 10-14
1.1 Background 10-11
1.2 purpose and significance 11-12
1.3 dissertation research and organizational structure 12-14
Chapter 2 J2EE architecture and the MVC design pattern research 14-24
2.1 J2EE architecture 14-18
2.1.1 J2EE Overview 14-15
2.1.2 J2EE architecture 15-16
2.1.3 J2EE architecture exists insufficient 16-18
2.2 MVC design pattern 18-22
2.2.1 Design Patterns 18-20
2.2.2 MVC design pattern 20-21
Advantages
2.2.3 MVC design pattern 21-22
2.3 J2EE architecture and the MVC design pattern multi-tier Web applications 22-23
2.4 Summary 23-24
Chapter 3 analyzes
lightweight framework 24-40
3.1 Struts framework 24-29
3.1.1 Struts architecture 24-26
Core components
3.1.2 Struts framework 26-27
3.1.3 Struts workflow 27-28
3.1.4 Struts advantages and disadvantages 28-29
3.2 Spring Framework 29-35
architecture 3.2.1 Spring of 30-31
3.2.2 Inversion of Control IoC 31-33
3.2.3 Aspect-Oriented Programming AOP 33-35
3.2.4 Spring advantages and disadvantages 35
3.3 Hibernate framework 35-39
3.3.1 Hibernate architecture 36-38
3.3.2 Hibernate advantages and disadvantages 38-39
3.4 Summary 39-40
Chapter 4 SSH -based Web development framework lightweight design 40-56
4.1 framework design principles 40-41
combination
4.2 SSH framework 41-45
4.2.1 introduced 41-42
4.2.2 framework program and the specific functions of each 42-45
Workflow
4.3 SSH framework 45-47
4.4 integrate Struts and Spring 47-51
4.4.1 Struts and Spring integration technology and analysis 47-50
4.4.2 integrate Spring and Struts 50-51
4.5 integrate Spring with Hibernate 51-54
Advantages
4.6 SSH combination framework 54-55
4.7 Summary 55-56
Chapter 5 Tax Administration of Jiangsu Province -based information disclosure system design nbsp combination SSH framework ; 56-66
5.1 System Overview 56-57
5.2 System Features 57
5.3 system features 57-62
5.3.1 Open Government Information Subsystem 58-60
5.3.2 By Application Publication subsystem 60-61
5.3.3 mailbox management subsystem 61-62
5.3.4 basic data maintenance 62
5.4 overall architecture design 62-65
5.5 Summary 65-66
Chapter 6 Tax Administration of Jiangsu Province information disclosure system based on a combination of SSH framework for the realization of 66-85
6.1 sample function module introduces 66-67
6.2 domain model layer implementation 67-69
6.2.1 persistent objects (Persistent Object) 67-68
6.2.2 O / R mapping file 68-69
6.3 data persistence layer implementation 69-71
6.4 presentation layer to achieve 71-76
6.4.1 Controller Action 71-73
6.4.2 view 73-74
6.4.3 Struts configuration 74-76
6.5 Yewuluojiceng achieve 76-79
6.6 system is the primary interface 79-82
6.7 Performance Analysis 82-84
6.8 Summary 84-85
Chapter 7 Summary and Outlook 85-87
7.1 summarizes 85-86
7.2 Prospects 86-87
Thanks 87-88
References 88-90
published during the post master's 90
Related dissertations
- The Application of an Improved Access Control Model in Authority Management Module
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- Design and implementation of no warehousing logistics management platform based on SSH
- Retailers Membership Card Management System Design and Implementation
- Design and Implementation of Personnel Management System
- Design and Implementation of Management Information System of Public Security Bureau of Changsha City
- The Design and Implementation of Agricultural Information Service Platform of Wei Fang City
- The Design and Implementation of Tobacco Monopoly Bureau Internal Control Information System for Shandong Province
- The Implementation of Office Automation Based on Osworkflow and Open Source Frame
- The Design and Implementation of Apartment Security Management System for Qujing City Kirin Area
- Research and Design of SSH-based University Equipment Share Management Platform
- The Design and Implementation of Housing Rental Information Management System Based on J2EE
- The Design and Implementation of Site Information Management System for 3G Network
- Design and Implementation of Shooting Teaching Management System Based on J2EE Architecture
- Research on the Traditional Chinese Medicine Product Management System on Spring
- Design and implementation of assets management system based on B/S framework of enterprise
- The Design and Implementation of a Management Platform of Service in the Catering Industry Based on SSH2Frame Mode
- Design and implementation of community management and exchange platform based on JAVA
- The Design and Implementation of Port Security Management Information Systems
- The Design and Implementation of Personnel Management System Based on SSH