The Research and Application Based on Struts Extended Framework

Author
NiChunYu
Advisor
GengXiangYi
School
Dalian Jiaotong University
Major
Applied Computer Technology
Classification
TP311.10 Programming
Degree
Master's thesis
Year
2007
Downloads
92
Citations
0

Request the full text

Abstract

In recent years, with the rapid development of network technology and the extensive application of J2EE (Java 2 Platform Enterprise Edition) platform, based on the B / S multi-tier Web application architecture gradually developed mature, multi-tier Web application development has become mainstream. A good Web application should have a loosely coupled, easy-to-transplantation and scalability characteristics. Many Web applications logically divided into four layers: client layer, said layer, business layer and enterprise information system layer. The biggest drawback of this hierarchy is: persistent data processing in the business layer, this will be the development of business logic and database operation code mixed together, is not conducive to building a loosely coupled, portable and scalable applications procedures. Therefore, it is necessary to Web application architecture is given a relatively independent persistence layer, the business logic of the system application module persistence layer indirect access to the database. So that the entire system architecture can be subdivided into five layers: client layer, presentation layer, business layer, persistence layer and enterprise information system layer. Apache Struts J2EE platform-based Web development framework that implements the MVC pattern, which provides for the application architecture, provides a good software architecture for application systems. However, Struts framework does not provide off-the-shelf components to design and create a model layer components, so the expansion and integration of Struts framework, in order to design a multi-tier architecture, loosely coupled, portable and scalable Web applications. has a very important theoretical and practical significance. This paper studies the expansion and integration of the Struts framework, the main tasks are the following: (1) create a the Struts model layer components. In the model layer, put forward new ideas of business checksum interface and business processing interface, improve system reusability. (2) integration of the the persistence framework Hibernate as the persistence layer implementation mechanism, reduce system coupling, improve system scalability. (3) extend Struts exception handling system, so that it can handle diverse exceptions, the application business logic validation fails, an abnormal form of treatment, to alleviate the burden of the controller to reduce the coupling of the control layer and model layer. (4) integration Validator framework for processing form data validation, and expansion of its realization. (5) a detailed analysis of the specific business and functional requirements of the export list management \export inventory management system. \

Table of contents

Summary 3-4 Abstract 4-6 directory 6-9 Introduction 9-13 Background Second, the purpose and significance of the research 9-11 Third, the expected research and innovation 11, IV, the main content and organizational structure the 11-13 Chapter J2EE technology and MVC design patterns and Struts framework 13-27 1.1 J2EE technology 13 - 16 1.1.1 J2EE Overview 13-14 1.1.2 J2EE architecture 14-15 1.1.3 J2EE core technology 15 - 16 1.2 MVC design pattern 16-20 1.2.1 MVC design pattern structure 16-18 1.2.2 MVC design pattern in J2EE platform application model 18-19 1.2.3 MVC design pattern advantages and disadvantages 19-20 1.3 Struts application framework 20-26 1.3. 1 Apache Struts framework 20-21 1.3.2 Struts implements the MVC mechanism 21-22 1.3.3 Struts core components 22-23 1.3.4 Struts framework workflow to utilize 23-25 ?? 1.3.5 Struts framework for the development and application of the system process 25-26 Chapter Summary 26 -27 Hibernate framework the 27-34 2.1 Hibernate origin and Introduction 27-28 2.2 Hibernate architecture 28 - 30 2.3 Hibernate core interface 30-32 2.4 Hibernate O / R Mapping 32 2.5 Hibernate operation data persistence 32-33 Chapter Summary 33-34 Chapter III expansion and integration of Struts application framework 34-61 3.1 Struts basic expansion program 34-36 3.1.1 Struts plug-PlugIn the 34-35 configuration extension points 3.1.2 the 3.1.3 controller extension points 35 35 < br /> 3.1.4 view layer extension points the 35-36 3.1.5 model extension points 36 3.2 extension controller components 36-38 < br /> 3.3 create model layer components the 38-42 3.4 persistence layer create the 42-50 3.4.1 Hibernate Integration framework 42-44 3.4.2 DAO mode 44-45 3.4.3 the persistent component design 45-48 3.4.4 Transaction Manager 48 -50 3.5 integrated the Validator framework of its expansion to achieve 50-53 3.5.1 Validator framework 50-51 3.5.2 Validator elements 51 3.5.3 integrated Validator framework 51-52 3.5.4 create custom validation rules 52-53 3.6 to create custom exception system 53-57 3.6.1 create custom exception class the 53-54 3.6.2 create custom exception handling classes 54-55 < br /> 3.6.3 configuration exception handling system the 55-56 3.6.4 exception handling system process 56-57 3.7 integration and configuration log package 57-59 3.8 application extension framework development process 59-60 Chapter Summary 60-61 Chapter the export list management system designed 61-83 4.1 Introduction 61 4.2 system design the 61-66 4.2.1 Needs Analysis 61-63 4.2.2 system design requirements the 63-64 4.2.3 Functional Design the 64-66 4.3 overall system architecture 66-67 4.4 export inventory management systems 67-79 4.4.1 user presentation layer 67-71 4.4.2 Business Logic Layer 71-73 4.4 .3 data persistence layer are found; 73-76 4.4.4 exception handling the 76-78 log management 4.4.5 78-79 4.5 The solution to the problem of international the 79-82 4.5.1 internationalization and localization 79-80 4.5.2 Struts framework of international support 80-81 4.5.3 internationalization achieve 81-82 chapter brief summary 82-83 conclusion 83-85 <br / > References 85-87 studying for a master's degree during the academic 87-88 Acknowledgements 88

Related dissertations

  1. Retailers Membership Card Management System Design and Implementation
  2. Design of the Jiujiang Institute of Financemanagement System
  3. Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
  4. B/S Based Online Book System Management Module Design and Implementation
    HuQiaoLing ·Jiangxi Agricultural University, ·2012 ·Master's thesis
  5. Design and Implementation of Grouting-Management Information System Based on Struts and Hibernate
    LiuShuWen ·Tianjin University ·2012 ·Master's thesis
  6. Research and Implementation of a Human Resource Management System Based on XX Company
  7. Research and Design of SSH-based University Equipment Share Management Platform
    YanZePing ·Anhui University ·2013 ·Master's thesis
  8. Design and Implementation of Material Management System
  9. The Design and Implementation of Housing Rental Information Management System Based on J2EE
  10. Design and Implementation of Community Information Service Platform: iHOM
  11. 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
  12. Design and Implementation of Office Automation System for Dongyuan Company
  13. Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
  14. Design and Implementation of Fire Police Dispatch System Based on Java Technology
  15. The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
  16. Design and implementation of no warehousing logistics management platform based on SSH
  17. Design and Implementation of University Student Information Management System Based on MVC and ExtJS
    GuLiYe ·Dalian University of Technology ·2013 ·Master's thesis
  18. Design and Implementation of University Student Employment Information Sharing Platform of Cucn
  19. Design and Implementation of Personnel Management System
  20. Design and Implementation of Management Information System of Public Security Bureau of Changsha City