Research and Implementation of Spring Framework Based on Web Application

Author
ZhangJinYan
Advisor
GuoXiJuan
School
Yanshan University
Major
Applied Computer Technology
Classification
TP311.10 Programming
Degree
Master's thesis
Year
2006
Downloads
206
Citations
3

Request the full text

Abstract

With the rapid development of the Internet , the development of Browser / Server - based server-side program has become the focus of Web application development . Although the development and application of software applications EJB platform to meet the needs of the program development , but will generate a lot of code during development , resulting in the latter part of code maintenance work has become difficult to control . The first detailed analysis of the Spring Framework transaction management mechanism based on aspect-oriented programming methods and inversion of control mode , proposed using inversion of control mode to solve the system code between the excessive dependence of the interface by introducing and design patterns to reduce code coupling , to making program maintainability enhanced several inversion of control mode to achieve the type of analysis , which provides more solutions for different procedures to achieve . Second , it is difficult for the current use of object-oriented technology to achieve crosscutting concerns , we propose to use aspect-oriented programming approach to separating crosscutting concerns multi-module software , and on this basis to improve the aspect-oriented programming method aspect-oriented reconstruction method call the reconstruction technology further to call reconstruction to a single aspect through the \By analyzing the principles and characteristics of Struts and Hibernate framework , this paper presents the Spring Framework Struts and Hibernate framework to integrate together to achieve an idea of the presentation layer , business layer and persistence layer three-tier Web application . As the application of the results of these studies , the end use of the Eclipse development tools in the Tomcat container to achieve an improved Web applications . And dynamic dependency injection and thus effectively decoupling program code to control the reverse mode of thinking through the design of the interface and configuration files . Decomposition , encapsulation of crosscutting concerns in the module in the program at the same time using aspect-oriented programming method , regroup , to improve the code reusability and extensibility .

Table of contents

Summary 4-5 Abstract 5-10 Chapter 1 Introduction nbsp 10-18 1.1 Spring framework development; -13 the 1.1.1 Spring framework generates background 10-11 1.1.2 Spring framework generates 11-12 1.1.3 using Spring framework benefits 12-13 1.2 Spring framework works 13-15 1.3 the content and significance of the research 15-17 1.3.1 research the 15-16 1.3.2 issues of significance 16-17 1.4 In this paper, the content and structure 17-18 first 2 Spring transaction management mechanism Overview 18-24 2.1 Spring transaction abstraction 18-19 2.2 transaction strategy 19-21 2.3 programmatically transaction management 21 2.3.1 Transaction Template 21 2.3.2 use the Platform TransactionManager 21 2.4 declarative transaction management 21-22 2.5 Spring transaction management EJB transaction management 22-23 2.6 Chapter Summary 23-24 Chapter 3 Spring Inversion of Control Mode 24-36 3.1 Introduction 24-25 3.2 dependency injection several types 25-26 3.2.1 interface injection 26 the 3.2.2 set value injection 26 3.2.3 constructor injection 26 the 3.3 several dependency injection mode contrast summarizes 26-28 3.4 inversion of control mode to eliminate dependencies 28-35 3.4.1 rely on the definition of the relationship and coupling 28-29 <br / > 3.4.2 Control class between dependencies to eliminate 29-31 3.4.3 the method of application and class library dependencies 31-33 3.4. 4 to eliminate the framework of the system and application dependencies 33-35 3.5 Chapter Summary 35-36 Chapter 4 Spring Aspect-oriented programming method 36-54 4.1 aspect-oriented programming concept 36-38 4.2 separating crosscutting concerns with aspect-oriented programming 38-46 <br / > 4.2.1 concerns the definition 38-40 4.2.2 crosscutting, concerns exist 40-43 4.2.3 using AOP separating crosscutting concerns nbsp 43-45 4.2.4 AOP implementations; 45-46 4.3 aspect-oriented programming pointcut 46-49 4.3.1 concept 46-47 4.3.2 pointcut, computing 47 4.3.3 practical entry point to achieve 47-49 4.4 oriented aspects of reconstruction method 49-52 4.4.1 aspect-oriented reconstruction concept and basic principles 49-50 4.4.2-oriented aspects of reconstruction characteristics nbsp range of applications and benefits of aspect-oriented programming; 50-52 4.5 52-53 4.6 Chapter Summary 53-54 Chapter 5 Spring integrate Struts Hibemate specific application 54-66 5.1 Introduction 54-57 5.2 Struts Overview 57-59 5.2.1 Struts Overview 57-58 5.2.2 Struts configuration application 58-59 5.2.3 Struts application requirements analysis and design 59 5.3 Hibernate Introduction 59-61 5.3.1 Hibernate configuration 59-60 5.3.2 Hibernate basis of semantic 60 5.3.3 Hibernate data retrieval 60 5.3.4 Hibernate data association the 60-61 5.4 Spring integration of Struts and Hibernate Web program to achieve 61-65 5.5 Chapter Summary 65-66 conclusion the 66-68 Reference the 68-72 studying for a master's degree during the bear research tasks and the main outcome 72 -73 Acknowledgements 73-74 Author 74

Related dissertations

  1. Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
  2. Design and implementation of no warehousing logistics management platform based on SSH
  3. Retailers Membership Card Management System Design and Implementation
  4. Design and Implementation of Personnel Management System
  5. Design and Implementation of Management Information System of Public Security Bureau of Changsha City
  6. The Design and Implementation of Agricultural Information Service Platform of Wei Fang City
    TaoHuaXian ·Shandong University ·2013 ·Master's thesis
  7. The Design and Implementation of Tobacco Monopoly Bureau Internal Control Information System for Shandong Province
    TangZhenFeng ·Shandong University ·2013 ·Master's thesis
  8. The Implementation of Office Automation Based on Osworkflow and Open Source Frame
  9. The Design and Implementation of Apartment Security Management System for Qujing City Kirin Area
    RenHaoRan ·Shandong University ·2013 ·Master's thesis
  10. Research and Design of SSH-based University Equipment Share Management Platform
    YanZePing ·Anhui University ·2013 ·Master's thesis
  11. The Design and Implementation of Housing Rental Information Management System Based on J2EE
  12. The Application of an Improved Access Control Model in Authority Management Module
    HuangYi ·Hunan University ·2010 ·Master's thesis
  13. The Design and Implementation of Site Information Management System for 3G Network
  14. Design and Implementation of Shooting Teaching Management System Based on J2EE Architecture
    WangCheng ·Jilin University ·2012 ·Master's thesis
  15. Research on the Traditional Chinese Medicine Product Management System on Spring
    ZhangYaZuo ·Agricultural University of Hebei ·2012 ·Master's thesis
  16. Design and implementation of assets management system based on B/S framework of enterprise
    WangMin ·Fudan University ·2011 ·Master's thesis
  17. The Design and Implementation of a Management Platform of Service in the Catering Industry Based on SSH2Frame Mode
    MaXuan ·Lanzhou University ·2012 ·Master's thesis
  18. Design and implementation of community management and exchange platform based on JAVA
    ChenWei ·Yunnan University ·2012 ·Master's thesis
  19. The Design and Implementation of Port Security Management Information Systems
    MaBing ·Beijing Jiaotong University ·2012 ·Master's thesis
  20. The Design and Implementation of Personnel Management System Based on SSH
    DaiQing ·North China University of Technology ·2013 ·Master's thesis