The Research and Application of General Web Framework Based on Struts 2, Spring and Hibernate’s Framework

Author
YuDongChao
Advisor
GengXiangYi
School
Dalian Jiaotong University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
295
Citations
6

Request the full text

Abstract

With the rapid development of Internet, J2EE technology platform is more mature day by day and becomes the best e-commerce solutions. Compared to Microsoft’s .NET platform, J2EE inherited the Java platform’s independency merit. J2EE technology has become the large-scale application system’s first choice platform plan, such as finance, the insurance, the telecommunication and so on. Due to the development of easy, the lightweight J2EE has become the biggest hot spot in software development. In this paper, which is the core issue surrounding the current hot lightweight components: Struts 2, Hibernate and the Spring. The three frameworks are being used by more and more developers, and in J2EE technology, main discussion of this paper is how to effectively integrate Struts 2, Spring and Hibernate into development of J2EE.Along with the demands growth, now the Web application system’s development is getting more and more complex, the development cycle is getting more and more urgent, the question which urgent needs to solve for the programmer and company’s development. Solving this problem is to choose good frameworks and design patterns .Frameworks and design patterns are very important technologies for software which are reused in J2EE, Framework can raise productivity of software by reusing, almost all frameworks use one or more design patterns.For this feature, this article produces the framework design pattern mainly center on the following question to launch:1. How to reduce the programer’s burden to deal with the complex problem, so that the application has good expansibility and stability.2. We propose the solution for common problems in development, and avoid the redundant development in the future, and can complete it. More importantly, how we deal with that the developer can liberate from the bottom of coding, so that they can concentrate on the logic processing of applications.3. How to choose a suitable framework and to establish the framework for enterprise applications, while allowing the application layer loosely coupled with interaction.4. In this paper, what combination of three kinds of framework Struts 2, Spring and Hibernate to make application to Loosely Coupled, how to build a stable structure of the user, and how to make the application layer consistent.5. How to integrate the framework, so that each layers of a loosely coupled with interaction instead of the bottom of the technical details.In this article, based on the integrated framework designed to give a application example of framework model, this application has achieved during the each layer loosely coupled, effectively optimized system structure, improved system’s extendibility, and reduced system’s complexity and maintenance difficult. Simultaneously the system does’t depend on platform has the characteristics of probability and reuseability.

Table of contents

Abstract 5-6 Abstract 6-11 introduction 11-16 a. Research background and significance 11-12 two study status 12-14 three thesis research ideas 14-15 four. goals 15-16 The first chapter analyzes the main technical framework 16-32 1.1 SERVLET 16 1.2 XML 16-17 1.3 STRUTS 2 Technical Framework 17-22 1.3.1 MVC design pattern 17-18 1.3.2 Struts 2 origin 18 1.3.3 Struts 2 core Thought 18-19 1.3.4 Struts 2 main features 19 1.3.5 Struts 2 architecture 19-20 1.3. 6 Struts 2 composition and configuration 20-22 1.4 SPRING technical framework 22-27 1.4.1 Spring origin 22-23 1.4.2 Spring core idea 23 1.4.3 Spring features 23 1.4.4 Spring architecture 23-24 1.4 .5 Spring related concepts 24-27 1.5 HIBERNATE technical framework 27-31 1.5.1 Hibernate origin 28 1.5.2 Hibernate The core idea 28-29 1.5.3 Hibernate features 29 1.5.4 Hibernate architecture 29-30 1.5.5 Hibernate core components 30 1.5.6 Hibernate operation mechanism 30-31 Summary 31-32 Integrated Development Environment Chapter 32-37 2.1 ECLIPSE introduced 32-33 2.2 ECLIPSE operating mechanism 33-35 2.2.1 for Eclipse 33-34 2.2.2 Eclipse configuration 34 2.2.3 Eclipse architecture diagram 34-35 2.3 download plugin 35-36 2.3.1 Get Struts 35 2.3.2 Gets Spring 35 2.3.3 Get Hibernate 35-36 Summary 36-37 Chapter integrate STRUTS 2, SPRING and HIBERNATE framework design 37-43 3.1 integration strategy 37 3.2 integration rules 37 3.3 Integrated Design 37-42 3.3.1 framework functional structure 37-41 3.3.2 integrated architecture features 41-42 Summary 42-43 Chapter systems analysis and overall design 43-58 4.1 system analysis 43 -45 4.1.1 Requirements Analysis 43-44 4.1.2 System Description 44 4.1.3 System design goals 44-45 < br /> 4.2 overall design 45-49 4.2.1 Image Management Design 45 4.2.2 System features modular design 45-47 4.2.3 System use case 47-49 4.3 system processes 49-51 4.3.1 ordering process 49-50 4.3.2 Based on the system architecture design process 50-51 4.4 database design 51-57 4.4.1 database design goals 51-52 4.4. two main database table structure 52-57 Summary 57-58 Chapter platform for the detailed design and implementation 58-87 5.1 persistence layer design and implementation 58-64 5.1.1 Hibernate persistence layer design 58-59 5.1.2 Hibernate persistence layer to achieve 59-64 5.2 Design and implementation of business logic 64-69 5.2.1 Yewuluojiceng design 64 5.2.2 Yewuluojiceng achieve 64-69 5.3 presentation layer design and implementation 69-73 5.3.1 Presentation Layer Design 69-70 5.3.2 Presentation Layer realization 70-73 5.4 backend systems design and implementation 73-78 5.4.1 Pagination 75 5.4.2 query operation 75-76 5.4.3 modify operations 76-77 5.4.4 store operations 77 5.4.5 delete 77-78 5.5 Verification achieve 78-79 5.5.1 Common side validation services to achieve 78 5.5.2 Ajax validation achieve 78-79 5.6 main interface 79-86 5.7 architecture developed using the advantages 86 Summary 86-87 Conclusion 87-90 References 90-91 papers published during the master's degree 91-92 Thanks 92-93

Related dissertations

  1. Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
  2. Research and Application Based on SSH2and JBPM for J2EE Develop Platform
    DingZhiYi ·Northwest Normal University ·2013 ·Master's thesis
  3. The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
    MaHuiBin ·Chang'an University ·2013 ·Master's thesis
  4. Design and implementation of no warehousing logistics management platform based on SSH
  5. The Research and Application of Web Framework based on Lightweight J2EE
    ZengGuangPing ·Sun Yat-sen University ·2013 ·Master's thesis
  6. The Design and Implementation of Vehicle Tracking Management System
  7. Retailers Membership Card Management System Design and Implementation
  8. Design and Implementation of Small Business Human Resource Management Information System
  9. Design and Implementation of the Logistic and Transportation Management System
  10. Design and Implementation of the Manufacturing Enterprise OA System Based on SSH2Framework
  11. Design and Implementation of Personnel Management System
  12. Design and Implementation of Information Management System Spring Based on MVC
  13. Design and Implementation of Management Information System of Public Security Bureau of Changsha City
  14. Design and Implementation of Local Tax Bureau Office System Based on SSH
    QinXiao ·Xiamen University ·2013 ·Master's thesis
  15. The Design and Implementation of Agricultural Information Service Platform of Wei Fang City
    TaoHuaXian ·Shandong University ·2013 ·Master's thesis
  16. The Design and Implementation of Tobacco Monopoly Bureau Internal Control Information System for Shandong Province
    TangZhenFeng ·Shandong University ·2013 ·Master's thesis
  17. The Implementation of Office Automation Based on Osworkflow and Open Source Frame
  18. The Design and Implementation of Apartment Security Management System for Qujing City Kirin Area
    RenHaoRan ·Shandong University ·2013 ·Master's thesis
  19. The Design and Implementation of Web Development Framework of Software System Based on MVC Mode
    LiuXin ·Shandong University ·2013 ·Master's thesis
  20. Research and Design of SSH-based University Equipment Share Management Platform
    YanZePing ·Anhui University ·2013 ·Master's thesis