Design and Realization of the Web Based on J2EE Lightweight Architecture

Author
ChenZuo
Advisor
ZhouDaShui
School
Shandong University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
71
Citations
3

Request the full text

Abstract

In today's information age, with the continuous improvement and development of the network, the Internet-based Web applications become the most widely used application system. Web applications through a common web browser to show the results of its execution, so the client is easy to maintain. Server-side applications based on B / S structure has been widely used to achieve the the numerous technical framework of Web applications are endless. Under this premise, Java network technology has been widely disseminated its irreplaceable advantages, especially in the development of enterprise-class performance. Traditional EJB solution severely restricted due to its complexity and high cost of the quick development of server-side applications and widely used. The most widely used in today's enterprise-class development devaluation lightweight component model for Java EE, especially Struts, Spring and Hibernate. Struts is a Web application framework MVC pattern, which reduce overall burden of building a multi-tier Web applications. Spring is the creation of a framework to solve the complexity of enterprise development and application logic. Hibernate through the establishment of object-relational mapping to solve the previous database development complex and cumbersome. Enterprise system development, Struts, Spring, Hibernate framework, specific analysis of the role played by the various frameworks in the different levels of Web application and their works, based on three framework lightweight enterprise development solutions. The framework is based on Struts MVC design pattern using Struts overall process control, the business logic of the application to the Spring-managed by Spring to manage the underlying data access object, Hibernate is responsible for data persistence. The focus of this thesis is that the three frameworks Spring, Hibernate and Struts build system integration, technical issues that may arise during the layers and solutions. In addition, the paper also discusses the security risks that may occur in the system and the solutions. Finally, the authors build system functional testing and unit testing. The result of the development of the application system and platform independence, maintainability, scalability, portability, at the same time enables the reusability of components to improve. The theoretical significance of this research work to solve the problems existing in the enterprise web application development has certain reference value.

Table of contents

Summary 10-11 ABSTRACT 11-12 first chapter 12-15 1.1 research background 12-13 1.2 Research objectives and significance 13-14 1.3 content 14-15 1.3.1 of this study 14-15 < br /> the second chapter J2EE multi-tier architecture research and analysis 15-21 2.1 J2EE hierarchy 15-17 2.2 Web application level divided 17-18 2.2.1 JSP Model Ⅰ system structure the JSP Model 17-18 2.2.2 Ⅱ architecture 18 2.3 traditional J2EE architecture 18-19 2.4 lightweight J2EE architecture 19-21 Chapter J2EE lightweight component technology 21-30 3.1 framework 3.1.1 uses frames 21-22 advantage 21 3.1.2 software multilayer structure 21-22 3.2 performance layer framework STRUTS 22-25 3.2.1 the Struts Overview are found; 22 3.2.2 Struts works 22-23 3.2.3 Struts configuration file describes 23-25 ?? 3.3 data access layer Hibernate developers 25-27 3.3.1 ORM introduced 25 3.3.2 Hiebernate, Introduction 25 3.3.4 Hiebernate workflow 25-27 3.4 Spring-based service layer framework 27-30 3.4.1 Spring Overview to 3.4.2 Spring 27 architecture 27-28 3.4.3 Spring Inversion of Control / Dependency Injection pattern 28-30 the fourth chapter lightweight framework in online fund trading system 30-39 4.1 System Overview 30 4.2 System Design 30-36 4.2.1 step 30-31 4.2.2 System Requirements Analysis 31-36 4.3 database design 36-39 <br / > 4.3.1 logic design 36 4.3.2 Table Design 36-39 Chapter fund trading system based on the SSH implementation 39-64 < br /> 5.1 fund trading system framework design 39-41 5.1.1 system framework model 39-40 5.1.2 model design principles-MVC mode 40-41 5.1.3 system development environment 41 5.2 of the SSH integrating framework 41-44 5.2.1 SSH framework combination 41 - 43 5.2.2 Project directory structure the 43-44 5.3 Struts achieve Presentation Layer the 44-48 5.3.1 struts framework to achieve 44-46 5.3.1.1 the struts of view layer (login.jsp) nbsp the 45-46 5.3.1.2 struts, the model layer (FundInfoAction.java); 46 < br /> 5.3.2 for struts improvements and achieve 46-48 5.3.2.1 directly inherit the shortcomings of the Action class and improved methods 46-47 5.3.2.2 the nbsp's use of DispatchAction; 47-48 5.4 Spring business layer 48-53 5.4.1 using the the Spring connection data source 49 5.4. Spring and Struts integration management Action 49-51 5.4.3 Spring integration with Hibernate DAO the 51-52 the 5.4.4 business logic objects decoupling nbsp 5.5 domain model layer implementations; 52-53 53-54 5.6 Hibernate data persistence layer are found; 54-58 5.6.1 Hibernate data persistence layer realization 54 5.6.2 Hibernate existing problems and solutions 54-57 5.6.2.1 hibernate The lazy loading problem 55-56 <br / > 5.6.2.2 problem analysis solutions 56-57 5.6.3 Hibernate paging technology 57-58 5.7 system design in the handling of security issues 58-64 5.7.1 permissions control to achieve the 58-60 5.7.2 MD5 encryption 60 5.7.3 prevent SQL injection attacks nbsp ; 60-61 5.7.4 verification code 61-64 Chapter VI system test the 64-67 6.1 Functional Test 64-65 6.2 JUNIT unit test 65-67 Chapter VII Summary and Outlook 67-68 Ref. 68-70 <br / > Acknowledgements 70-71 pursue a degree during the academic catalog 71-72 thesis reviewers and the respondent table 72

Related dissertations

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