The Design and Realization of the Automobile Rents Management System Based on Struts Framework and Ajax Technology

Author
LiZhiQiang
Advisor
LiuWei
School
PLA Information Engineering University
Major
Computer technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
175
Citations
1

Request the full text

Abstract

The main thesis of this study is how to make use of Struts framework and Ajax technologies to build Web applications. The main use of technology including: UML Unified Modeling Language, Struts framework, Ajax technology.First of all, the thesis give an introduction on the subject of the background and significance of research and then give an analysis of the situation in the car rental industry at home and abroad. Secondly, it gives a brief introduction on the modeling tools, IBM Rational Rose、Microsoft Visio、PowerDesigner based on the language of the UML and expatiates on the status quo and the development on the Ajax technology and Struts framework; then, through the in-depth analysis on the features of the customers’requirments , it design in four modules, namely: the maintenance of basic data module, the basic business module, database management module, the module information. And then it establishes the analysis module with the Unified UML Modeling Language, and design the system use case diagram, class, timing map, state map with Rational Rose. In the model system, the design class diagram and database systems of the customers and employees are planned. Finally, it looks forward to the Struts and Ajax technology for development with the functional achievement of the system.The maximum reuse and simple, and most flexible expansion is the design development goal of this system. Through in-depth study of a variety of MVC design pattern, developers choose the maturity and stability of the Struts framework as a framework for the development of the system, a Struts application framework for the development of the structure of MVC ( "mode - View - Controller") software. Struts provides a framework for the MVC to achieve a high degree automation. It has the structure of the MVC, and includes a controller Servlet, a set of JSP pages and applications of the business logic. Controller will package the users’requests and directe them in the framework of other objects. Struts framework paper gives the three-tier structure of the main components. The view floor of the main components gives the JSP documents and ActionForm Bean. The control layer of the main components gives the ActionServlet Class Action and the type of model layer of the main components gives JavaBean describing the business model. Struts framework is built around a structure of the ActionMapping, by which the controller change the user requests inf the form of HTTP message into application actions.ActionMapping designate the request path, the planned object as well as other information that serves the request. ActionMapping created a target Action to deal with the request. Action Once a target completion of the task, it write the results directly on a JSP page to reply to a user’s request, or it can allow a flow of applications to other areas to do the response. Struts is consist of Servlet, Tag Library, library utility, etc. These categories include the type of process control procedures, procedures for the realization and implementation of the logic of the Service category. And based on the request from users, ActionServlet can adjust the corresponding action to deal with it case by case, and then choose a relevant JSP document back to users end. ActionForm, a type of the data Bean category in modelling, is used to represent input data from View module. Action is a type of logical bean in modelling. It can execute a certain type of request of operation logic if expanded Action. Taglib components represent Tag Lib; ActionMapping represent mapping between JRI model and the action of operation logical components. Besides that, Struts contains also an important configuration file: Struts-config.xml, which includes ActionMapping information on Web application, information of JDBC data and ActionForm Bean, and total transmission, etc. There are several advantages of using Structs. Firstly, Struts is able to discriminate operation logic, command and data displaying modules. Secondly, functions of applications are clearly divided by Struts; and thirdly, developers can concentrate on separate development of the three modules (operation logic module, programmed control module and data displaying module) and do not need to worry about the coupling problems among these three modules.Users require the system a as quickly as possible operational capacity. It propose more stringent design requirements to the design of the system. Users can experience abundant applications and swap operation by adding Ajax technology to the user end. Users couldn’t aware of the process of web referring and refreshing and the webpage does not need to be reloaded again, which gives an excellent experience for web version users. This article points out a proposal for the complex application in the development of web internet applications by using Ajax engine. It’s possible to trigger an event that is trapped by JavaScript when users are interacting with internet explorer, such events could be the onblur event happened in a single input box of a form, and then JavaScript will asynchronously send the request to server through the XMLHttpRequest target which is created by JavaScript. At this point, instead of waiting for the response from server, users can continue their work, for example, browsing the current webpage, filling other forms and so on. Once server received the request, it will deal with the problem and send results back by server programm. The returned results are trapped by XMLHttpRequest and sent back to JavaScript, which then adjust the relevant DOM to control the display layer. After using Ajax, users feel like that almost all operations are able to respond as soon as possible rather than waiting for reloading the webpage.Finally, through the testing of the reservation of the car rental, the rent of the car, and vehicles clearing, the expected design goal is realized. the car rental management system framework which is based on Struts and Ajax technology is realized.

Table of contents

Summary 6-8 Abstract 8-10 first chapter 10-16 1.1 subject background and significance -12 1.1.1 subject background 10-11 1.1.2 Implications for research 11 1.1.3 subject 11-12 1.2 of domestic and foreign trade and related technical overview the 12-14 1.2.1 car rental industry developments the 1.2.2 related technical situation 12-13 13-14 1.3 research the 14-15 1.4 The structure of this article 15-16 Chapter II technology 16 - 22 2.1 modeling tool based on UML language are found; 16-17 2.1.1 IBM Rational Rose 16-17 2.1.2 the Microsoft Visio 17 2.1.3 PowerDesigner 17 2.2 Ajax technology 17-18 2.3 Struts framework 18-20 2.3.1 Web application development framework 19-20 2.3.2 Tiles Profile 20 2.4 Chapter Summary 20-22 Chapter car rental system requirements analysis and design 22-46 3.1 system functional requirements 22-24 3.1.1 functional requirements described 22 3.1.2 function the the demand module 22-23 3.1.3 Basic data maintenance module 23 3.1.4 basic business modules 23-24 3.1.5 database management module 24 3.1.6 Information query module 24 the 3.2 systems analysis model 24-31 3.2.1 system use case diagram 24-26 3.2.2 system class 26-27 3.2.3 system timing diagram 27-30 3.2.4 system The state diagram the 30-31 3.3 system architecture design goal 31-32 3.4 system design model 32-34 3.4.1 customers and employees design class diagram 32-33 3.4.2 detailed design class diagram 33-34 3.5 system database design 34-36 <br / > 3.6 problems encountered in the implementation of the system 36 3.7 technology solutions 36-44 3.7.1 Struts framework reorganization 36-41 <br / > 3.7.2 Ajax asynchronous request mode to achieve 41-44 3.8 Chapter Summary 44-46 Chapter car rental system to achieve 46-56 < br /> 4.1 system framework to achieve the 46-51 the 4.1.1 system framework produce the 4.1.2 Information 46-51 achieve dynamic display 51 4.2 The realization of system functions 51-54 4.2.1 car rental reservations function to achieve the 51-52 the 4.2.2 vehicle rental functions to achieve 52-53 4.2.3 also the car clearing functions realization 53-54 4.3 Chapter Summary nbsp 54-56 Chapter V Conclusion and outlook; 56-58 5.1 Conclusion 56 5.2 Looking to References 56-58 58-60 the author resume 60-61 Acknowledgements 61

Related dissertations

  1. Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
    WangZhiJun ·Xiamen University ·2014 ·Master's thesis
  2. The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
  3. Study on conversion and UML testing and model based on AADL
    LiuBo ·Shaanxi Normal University ·2013 ·Master's thesis
  4. Analysis of Design and Implementation of B2C E-business Store System
  5. Designing and Implementing for Guizhou Huaxi Guest House Information Management System
  6. Design and implementation of the Qilu Petrochemical Industries Co bidding management system
  7. Design and implementation of hotel management system based on UML
  8. Design and Implementation of Personnel Management System of University
    WangJianLong ·Shandong University ·2013 ·Master's thesis
  9. The Design and Implementation of Labor Resource Management and Employment Placement System for Somewhere
    WangFeng ·Shandong University ·2013 ·Master's thesis
  10. Design and Implement of Telematics System Service Center Subsystem
    WangHuaChen ·Northeastern University ·2013 ·Master's thesis
  11. The Design and Realization of Motor Vehicle Pre-registration System
    ZhangFuFeng ·Hebei University of Technology ·2013 ·Master's thesis
  12. Design and Implementation of Subjects Teaching Performance Monitoring and Analysis System
    SunQing ·Shanghai Jiaotong University ·2013 ·Master's thesis
  13. Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
    MaShiTao ·Shandong University ·2013 ·Master's thesis
  14. The architecture of B/S auto repair technical support system design and Implementation Based on
  15. Design and Implementation of Emergency Command System for Digitizing Prison Based on Contingency Plans
    LiChunLong ·Sun Yat-sen University ·2013 ·Master's thesis
  16. Design and Implementation of Chengdu Bank Credit Decision Support Information Systems
  17. The Design of Paper Generating System Based on B/S Model
  18. Design and Implementation of Sichuan Province Security Technology Center PPE Examining Information Management System
  19. Based on B/S Mode of Tibetan and Qiang Style Shopping Site Design and Implementation
  20. Design and Implementation of Staff Education and Training System in Electric Power Bureau of San Ming