The Web Application and Realization Based on Struts+Hibernate+Spring
- Author
- GanSenLin
- Advisor
- YangChunJin
- School
- Wuhan University of Technology
- Major
- Signal and Information Processing
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 470
- Citations
- 6
Abstract
As web technology is developing rapidly, The applications of internet technology and web2.0 technology based on Java are spreaded widely. Users pay more attention to safe, swift and stable web applications. So how to develop applications to meet user’s demand is a problem that developer must think about seriously. By the great effort of some big open source organizations and portals, some excellent frameworks come about. Struts ,Hibernate, Spring are the top of them. Struts is designed to improve user’s experiences and offer the best user interface then handle the foreground operations . Hibernate takes responsibility to read from and write into database as background persistance and complete interaction of data. Spring becomes connection between foreground business and background logic ,complete controlling operations that receive data coming from foreground then return them to foreground.So the three of them are combined compactly, and connect with each others. That is convenient for applications developing.The Article is written to research working principle and collaboration of three frameworks, discuss their own function detailedly. According to the research ,the paper do the work about whole design about system, choice and combination about frameworks ,code implement and release, then the paper implements the online file management system.The paper firstly discuss the design mode , get the advantages about MVC model and discuss Struts about how it works for foreground as View. Then research the background Model mockup Hibernate about how it achieves interaction aim with database by field binding. Finally describe the function of controller Spring, it plays an important part in framework connection. The paper combines the three J2EE frameworks according to their different function roles to be a convenient SSH framework. And it is good work for the system in this article. According to the use of framework, It becomes convenient for developer to reduce code coupling and cycle, And to increase efficiency .The online file management system is developed based on framework of B/S architecture. Its first aim is to implement what the paper research ,and the second aim is to help user reduce burden when deal with plenty of files. User can be more efficient to manage files, messages and notes by using this system. And the user can be comfortable to deal with these works such as file and information management.
Table of contents
Abstract 4-5
Abstract 5-10
Chapter 1 Introduction 10-14
1.1 of this topic background 10-11
1.2 current research status 11-12
1.3 In this paper, the main content and organizational structure of the research 12-14
1.3.1 In this paper, the main content 12-13
organizational structure
1.3.2 papers 13-14
Chapter 2 Design Patterns Struts framework 14-32
2.1 design patterns 14-17
2.1.1 design patterns describe 14-15
2.1.2 design pattern classification 15-16
2.1.3 schema language 16-17
2.2 application framework 17-18
2.2.1 framework defined 17-18
2.2.2 framework features and design principles 18
2.3 STRUTS framework introduced 18-31
2.3.1 JSP Model1 and JSP Model2 18-24
2.3.2 Struts MVC's mechanism 24-26
2.3.3 Struts workflow 26-27
2.3.4 Struts functionality to achieve 27-31
2.4 This chapter Summary 31-32
Chapter 3 data persistence layer, Hibernate development 32-43
3.1 data persistence layer Introduction 32-33
3.2 data persistence layer 33-41
3.2.1 Hibernate principle 34-35
3.2.2 Hibernate implementation 35-38
3.2.3 Hibernate primary key generated 38-41
3.3 HIBERNATE retrieval 41-42
3.4 This chapter Summary 42-43
Chapter 4 Spring principles and framework integration 43-50
4.1 control reversal 43-46
4.2 dependency injection 46
4.3 framework integration 46-49
4.3.1 Struts and Spring integration 46-47
4.3.2 Hibernate and Spring integration 47-49
4.4 This chapter Summary 49-50
Chapter 5 online document management system architecture and implementation 50-71
5.1 Overview 50-52
5.2 Web applications hierarchy 52-53
5.2.1 presentation layer (PresentationLayer) 52
5.2.2 Persistence Layer (PersistenceLayer) 52
5.2.3 business layer (BusinessLayer) 52-53
5.2.4 domain model layer (DomainModelLayer) 53
5.3 open source framework selection strategy 53-56
5.3.1 Struts 54
5.3.2 Hibernate 54
5.3.3 Spring 54-56
5.4 development framework designed 56-66
5.4.1 presentation layer to establish 57-59
5.4.2 business layer construction 59-61
5.4.3 persistence layer structures 61-63
the 5.4.4 domain model layer 63-66
5.5 system running results 66-70
5.5.1 system main interface 66-68
5.5.2 User Management 68
5.5.3 user file management 68-69
5.5.4 messages and memos management 69-70
5.6 This chapter Summary 70-71
Chapter 6 Summary and Outlook 71-72
6.1 research 71
6.2 shortcomings 71
the
Framework 6.3 Future 71-72
the
References 72-75
Acknowledgements 75-76
studied papers published by the Master of the period 76
Related dissertations
- 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 Application of an Improved Access Control Model in Authority Management Module
- 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