Web implementation of extended struts

Author
WangLiang
Advisor
PanYinRong
School
East China Normal University
Major
Software Engineering
Classification
TP311.1 Programming
Degree
Master's thesis
Year
2007
Downloads
181
Citations
1

Request the full text

Abstract

With the development of the WEB technology, Java WEB developer has already drawn to take precept from those experiences for failure. Now, the various WEB framework grows quickly. The framework of Jakarta STRUTS becomes one of the best WEB framework via the evolve process. This article designs and implements the globalization management WEB system of the selling agent store of the Suzuki automobile, also according to the STRUTS, being called SEED system. On the layer structure of the WEB application, this article carried on elaborating in detail of the requirements, structure, designs and implementations, technology used and design patterns of the presentation layer, business logic layer and persistency layer of the SEED system.Although the STRUTS is an excellent framework with extensive development and application, having many of successful cases, also has the applies scope and shortage after all.1. STRUTS FormBean is used for large system, the workload of its development is very large. One FormBean sometimes needs up to thousand line of codes to complete loads items and gets a value. Such of the work not only spends time, but also comes amiss easily.2. The validation rules provided by the STRUTS Validator frame can’t satisfy the demand of large system.3. STRUTS provided good supports for the front control and implementation of the presentation layer, but not for business logic layer and persistence layer, it has no method to concrete and no reference standard. This WEB application with STRUTS didn’t get good support at the business logic layer and persistence layer.The author put forward own views and method to the place of STRUTS shortage, and gave a realization in the SEED system. Mainly work following several aspects:1. Put forward to use reflection to simplify the development of data loading of data transfer object, reduce the workload of the developers, lowered the miss and raised the quality of system.2. Use RESTYLE and T-FOG of the development tool of IBM WACs to support the development of presentation layer. The T-FOG extended the STRUTS Validator frame, defining the better validation rule of SEED system; The RESTYLE generates the JSP document of various type verification functions automatically. Provided a full guarantee in verifying a user input data.3. Use the business delegation to implement the business logic layer, made up the blank of STRUTS at the business logic layer, and lowered the coupling of the whole business logic layer, make the whole system have good reusability and expansibility.4. Use the Data Access Object (DAO) pattern to implement the persistence layer with the tool of DAO GENERATOR to help the realization of DAO pattern. DAO pattern encapsulates the access to data source, separate the business logic and the resources, making the system more expansible. Use the optimistic lock which uses according to the Timestamp to solve the conflict of parallel processing.The SEED system of this article design and realization is a Customer Relationship Management (CRM) system used by the enterprise of automobile. The system can help the enterprise to analyze a great deal of information of the customers and the latent customers, making enterprise can communicate with customers and provide the services more efficiently, raise the customer’s satisfaction, and create more profits. Currently SEED system already be used by hundreds of sales and service centers of Suzuki automobile of the world, in good performance, provide a great deal of information resources for the enterprise everyday.

Table of contents

Summary 5-7 Abstract 7-11 Chapter 1 Introduction 11-16 1.1 dissertation research background and significance Status 1.2 11-12 study abroad and problems research work 12-13 1.3 of this paper 13-14 1.4 organization of the thesis structure 14-16 STRUTS Chapter 2 Overview 16-25 2.1 STRUTS Introduction and Benefits basic composition of 16-17 2.2 STRUTS framework 17-22 2.2.1 STRUTS controller component 17-19 2.2.2 STRUTS view component 19-20 2.2. 3 STRUTS profile 20-21 2.2.4 Validator ( verification ) framework 21-22 2.3 STRUTS lack 22-24 2.4 Summary 24-25 Chapter 3 SEED system functionality overview and overall architecture 25-33 3.1 SEED system requirements 25-26 <br / > functional Overview 3.2 SEED system 26-27 STRUTS profile 3.3 SEED system 27 overall architecture 3.4 SEED system 27-31 <br / > 3.4.1 Presentation Layer 29 3.4.2 Yewuluojiceng 29-30 3.4.3 persistence layer 30-31 3.5 SEED system operating and development environment 31 3.6 of this chapter subsections design and implementation 31-33 Chapter 4 SEED system presentation layer 33-53 <br / > 4.1 SEED system representation used design pattern layer 33-35 4.2 SEED system ActionForm classes and ViewObject realization 35-38 4.2.1 ActionForm implementations achieve 35-36 4.2.2 View Object of 36-38 4.3 T-FOG and RESTYLE in SEED system 38-44 4.3.1 to expand the use of T-FOG STRUTS the Validator framework 38-43 4.3.2 with the authentication code generated using RESTYLE JSP file 43-44 4.4 use class FormBean reflection mechanism to simplify the dynamic loading inadequate 44-52 4.4.1 Dynamic FormBean of 45-47 4.4.2 class concept reflected 47-49 4.4.3 application classes FormBean reflection mechanism to simplify the dynamic loading 49-52 4.5 of this chapter subsections Yewuluojiceng 52-53 Chapter 5 SEED system design and implementation 53-61 5.1 SEED system design patterns Yewuluojiceng use 53-54 5.2 SEED system business logic to achieve achieve 54-60 5.2.1 Seed systems business agent class achieve 55-58 5.2.2 Seed systems business logic class 58-60 5.3 This chapter sections design persistence layer 60-61 Chapter 6 SEED system design and implementation 61-79 6.1 persistence layer design patterns used 61-63 6.2 persistence layer using the DAO pattern implementation SEED system 63-65 6.3 using DAO GENERATOR help achieve DAO mode 65-73 6.4 concurrent processing types 73-78 6.4.1 lock and characteristics 73-75 6.4.2 SEED optimistic lock realize 75-78 section 6.5 of this chapter running instances 78-79 Chapter 7 SEED system running instances 79-86 7.1 business requirements 79-80 7.2 user Data running instance validation running instances 80-83 7.3 concurrent processing 83-85 7.4 of this chapter subsections 85-86 Chapter 8 summary and Prospect 86-89 8.1 summarizes 86-88 8.2 Prospects 88-89 References 89-91 <br / > English vocabulary table 91-92 Appendix 92-94 Thanks 94

Related dissertations

  1. Design and Implementation of a Supply Chain System for Manufactural Enterprise
    ZhangZhiYou ·Northeastern University ·2011 ·Master's thesis
  2. Design and Implementation of Finance Forum Web System
  3. Design and Implementation of Huafeng Company Integrated Office System
  4. Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
  5. Design and Implementation of Fire Police Dispatch System Based on Java Technology
  6. The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
  7. Design and implementation of no warehousing logistics management platform based on SSH
  8. Retailers Membership Card Management System Design and Implementation
  9. Design and Implementation of Online Shopping System Based on Struts
  10. Design and Implementation of University Student Employment Information Sharing Platform of Cucn
  11. Design and Implementation of Fuzhou Postal Bank Credit Management System
  12. Design and Implementation of Personnel Management System
  13. Design of the Jiujiang Institute of Financemanagement System
  14. Design and Implementation of Management Information System of Public Security Bureau of Changsha City
  15. Design and Implementation of Intelligent Management System of Assets
  16. Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
  17. B/S Based Online Book System Management Module Design and Implementation
    HuQiaoLing ·Jiangxi Agricultural University, ·2012 ·Master's thesis
  18. Establishing the Personnel Information System Which Based on the Struts Framework
    DiaoWenChang ·Tianjin University ·2012 ·Master's thesis
  19. Design and Implementation of Grouting-Management Information System Based on Struts and Hibernate
    LiuShuWen ·Tianjin University ·2012 ·Master's thesis
  20. A MVC-Based Network Teaching Evaluation System
    ZhuXiaoDong ·Ocean University of China ·2013 ·Master's thesis