Study and Application of WEB Base on WebWork

Author
ZouZhiHui
Advisor
YangChunJin
School
Wuhan University of Technology
Major
Signal and Information Processing
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
35
Citations
1

Request the full text

Abstract

With the fast development of Internet, traditional MIS(Management Information System) based on C/S(Client/Server) rarely satisfies enterprise’s need, where as Web application based on B/S(Browser/Server) have gained wide popularity gradually. There are more and more systems based on Web.Framework technology and design patterns have been important software reuse technology in J2EE, framework technology use software reuse technology to improve the efficiency of software development. Framework is the basic component which supplies various interfaces and functions for other platforms, so it plays a fundamental role in systems development and is the backbone of Products. What’s more, framework is an application system with multiple layers which is object-oriented and developed on Java, and framework could also be called application server. If Web application would be developed based on framework, the development cycle would be greatly reduced, with higher safety and expansibility. So how to select frameworks to set up architecture for enterprise application, while each application layer affects each other through loose coupling, is one great challenge for developer.MVC has separated business logic and data presentation, so it has great advantages in Web application with multiple layers. WebWork is one framework which has implemented MVC pattern and greatly reduced developer’s burden to construct multiple layers of Web application. Lightweight container is based on the principle of dependency injection, so it could realize loose coupling among main components of system dynamically. Hibernate is a persistent framework and an open source, whose main advantage is that it greatly reduces complexity of data base development and adds expansibility and performance of system.According to the problems above, this paper made deep research on two framework: Webwork and Hibernate, analyzed their roles on different layers of Web application, integrated the two framework, developed one architecture which was suitable for enterprise Web application. In this architecture, business in WebWork was managed by factory of business component, while Data Access Object below was managed by DAO factory, both of which were accomplished by figuration files, while Hibernate was just responsible for persistence of data. Finally, a real system was realized based on this architecture. As for the final result, by the proper use of framework, both the coupling of code and the development cycle had been greatly reduced, so it brought developers great convenience while it also improved efficiency of development. Further, since this system had platform independence, it would be much easier to maintain, expand, transplant, and reuse this system.

Table of contents

Abstract 4-5 Abstract 5-9 Chapter 1 Introduction 9-12 1.1 Background 9-10 1.2 Research 10-11 1.3 research 11-12 Chapter 2 system features and technology options 12-19 2.1 system features 12-14 2.1.1 application background 12-13 2.1.2 system functions defined 13-14 2.2 technology selection and system architecture 14-18 2.2.1 technical presentations 14-16 2.2.2 System Architecture Design 16-18 2.3 Summary 18-19 3 Chapter WebWork WEB application 19-48 3.1 system detailed design 19-26 3.1.1 integrated development platform 19-24 3.1.2 extract application entity 24-25 3.1.3 determine the system components 25-26 3.2 to achieve the Hibernate persistence layer 26-30 3.2.1 Mapping persistence layer POJO 27-28 3.2.2 map configuration file to write to PO 28-30 3.2.3 to write the Hibernate configuration file 30 3.3 DAO component layer 30-34 3.3.1 Design DAO component interface 31-32 3.3.2 DAO components 32-33 3.3.3 DAO factory 33-34 3.4 to achieve the business logic layer 34-39 3.4.1 design business logic component interface 34-36 3.4.2 control transaction 36-37 3.4.3 implement the business logic components 37-38 3.4.4 implements the business logic components factory 38-39 3.5 implements the Web layer 39-47 3.5.1 WebWork handling mechanism 39-40 3.5.2 complete the user registration and login 40-43 3.5.3 complete the shopping process 43-46 3.5.4 complete customer orders query 46-47 3.5.5 complete cancellation of the user's 47 3.6 Summary 47-48 Chapter 4 Summary and outlook 48-50 4.1 research 48 4.2 the existence of deficiencies and Prospects 48-50 References 50-53 thank 53-54 degree during the published papers and participate in the research situation 54

Related dissertations

  1. The Design and Implementation of Housing Rental Information Management System Based on J2EE
  2. The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
    MaHuiBin ·Chang'an University ·2013 ·Master's thesis
  3. Design and Implementation of University Student Information Management System Based on MVC and ExtJS
    GuLiYe ·Dalian University of Technology ·2013 ·Master's thesis
  4. Retailers Membership Card Management System Design and Implementation
  5. Design of the Jiujiang Institute of Financemanagement System
  6. Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
  7. B/S Based Online Book System Management Module Design and Implementation
    HuQiaoLing ·Jiangxi Agricultural University, ·2012 ·Master's thesis
  8. Design and Implementation of Grouting-Management Information System Based on Struts and Hibernate
    LiuShuWen ·Tianjin University ·2012 ·Master's thesis
  9. Research and Implementation of a Human Resource Management System Based on XX Company
  10. Design and Implementation of Book Information Integrated Service Platform Based on Mvc and ExtJs
    ChenHuiXin ·Shandong University ·2013 ·Master's thesis
  11. The Design and Implementation of Web Development Framework of Software System Based on MVC Mode
    LiuXin ·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. Design and Implementation of Material Management System
  14. Design and Implementation of Community Information Service Platform: iHOM
  15. 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
  16. Design and implementation of student network report system based on Lightweight Framework
    LiuJia ·University of Jinan ·2012 ·Master's thesis
  17. Design and Implementation of Shaanxi State Tax’s Electronic Operation and Maintenance System Based on ITIL
  18. Design and Implement of Energy-saving and Generation Dispatching Information System Based on Struts Framework
    YuZuo ·Northeastern University ·2011 ·Master's thesis
  19. Design and Implementation of Office Automation System for Dongyuan Company
  20. Information Release Platform of Auto Parts Based on J2EE