The Design and Research of Enterprise J2EE Web Application Based on Ajax Framework

Author
ChenBin
Advisor
ZhuMin
School
East China Normal University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
562
Citations
18

Request the full text

Abstract

The application program of C/S(Client/Server) is appearing with the Windows emergence in 1990’s and with the buildup of the server performance, which adopts the graphical user interface, has better data processing in client, provides the powerful performance of data manipulation and business handling. But along with the improving of the complexity of the application program, it is found that the structure of C/S is deploy costly high, application program update in client and difficult to maintenance. Because of the disadvantages and with the development of the Internet, in the mid-90’s, there comes the application program of B/S(Browser/Server), it is the result of the Web broadly used which resolved the difficulties. But B/S application program is enslaved to HTML and can not display data with abundant effects like C/S, so users feel too bad. And then a kind of application program called Rich Internet Application(RIA)emerged which has better interaction and plenty user experience.Actually, RIA is a kind of C/S structure based on Web. For having a client, RIA application provides powerful functions, letting the user experience the better interactive and better experiences. And at the same time RIA is applied based on the Internet browser, so it is very convenience. Moreover, Ajax is a kind of RIA technique which is approbated broadly.Currently, Ajax become the the hot topic of the Web technology research. Ajax introduced asynchronous transfer technology, promote local renewable pages, enhanced user experience. Contrast to the traditional Web technology like Applet, Flash, Ajax don’t need specialized software to be used in most popular browsers, Ajax use XMLHttpRequest to send the asynchronous request.Ajax addresses the key technologies, including JavaScript, XMLHttpRequest, Dom, XML. Through Dom JavaScript accesses request parameters information and uses XMLHttpRequest to send the asynchronous request, servers handling of the request, return ordinary text or XML, and then the browser use JavaScript to explains XML, Dom updated and adopted relevant Web UI.The thesis referred to the literatures and the basis of practice, has studied the application of Ajax in the MVC pattern, has studied integrate the Ajax technology with the J2EE platform. The thesis introduces each kind of influence and the question in view of J2EE Web application which Ajax brings, and proposed the corresponding solution. Finally the thesis note a J2EE application with Struts, whick integrated successfully with the opened the source Ajax development frame DWR, caused the JavaScript code to be possible to transfer the Java method directly, the request—response circulation of Ajax has eliminates completely from the application procedure code, causes the program only to have to pay attention to the service logic, and each kind of influence and the question that Ajax brings has solves effectively by the solution which proposed with the thesis, and obtained good effect.The content of the thesis can be described as following:At first, describes the origin of the Ajax, the developing process and the application present situation related. The key technologies contains which to the Ajax technology has carried in detail, described the Ajax Web model and the good and bad aspects, and introduced uses each kind of development kit and development frame which the Ajax technology may use.Second, Described the J2EE architecture and the MVC design pattern, has studied the application of Ajax in the MVC pattern, has studied the influence and the question the Ajax can bring in the J2EE application , and aimed at these influences and the question proposed the corresponding solutions.Then, The paper described the Ajax development frame DWR in detail, and how to integrates it with a J2EE application uses Struts. By this application, described based the Enterprise J2EE Web application based on Ajax.At last, carried on the summary each work of the thesis, and has pointed out Ajax in the enterprise commerce information system application prospect and the forecast and the further work.In the enterprise Web application, has the very many carry-over problem truly. For instance the user confirmation may lose under which may elect to pull the tabulation, the data linkage, the page long time awaits etc questions always not have the graceful solution, therefore many users prefer to uses C/S architecture . Application introduced the Ajax technology in J2EE Web to solve these problems well, promoted the user experience, the present paper research to application to have the very good model significance on the development of J2EE Web application based on Ajax.The main contribution of this thesis can be concluded as following:1. Through the research of Ajax, proposes the the related tools and application framework which supporting the Ajax technology.2. By the studying characteristic of Ajax and J2EE application, have analysed a few characteristics and problem in both integration, and have provided some solution.3. Dissect Ajax the development frame DWR frame, and studied how to integrated the DWR frame into a J2EE Web application with Struts, proposed the solution with the paper to solve each kind the influence and the question which produced in the integration.

Table of contents

Summary 7-9 ABSTRACT 9-14 Chapter 1 Introduction 14-18 1.1 Background and Significance 14 - 15 1.2 Ajax Overview 15-16 Status 1.3 Ajax application main work 16 1.4 article 16-17 1.5 the paper is organized 17-18 the second chapter introduces Ajax 18-32 2.1 Ajax defined 18 2.2 Why use Ajax 18-21 2.2.1 Web applications based on the basic issues 18-20 2.2.2 using Ajax 20-21 2.3 Ajax technology applied to 21-23 2.4 Ajax 's Web model 23-24 2.5 Ajax advantages and disadvantages of technology 24-25 2.5.1 advantages 24-25 2.5.2 Disadvantages 25 2.6 Ajax toolkit 25-28 2.7 Ajax development framework introduced 28-31 < br /> 2.8 Chapter Summary 31-32 Chapter J2EE architecture and the MVC design pattern 32-40 3.1 J2EE architecture of 32 - 36 Overview 3.1.1 architecture 32 Overview 3.1.2 J2EE is 32-33 3.1.3 J2EE advantage of 33 - 34 3.1.4 J2EE distributed multi-tier application model 34-35 3.1.5 J2EE application model of five 35-36 3.2 MVC design mode 36-38 3.2.1 MVC design pattern 36-37 3.2.2 MVC application in the Web 37-38 3.3 based on J2EE and MVC Web application development multilayer 38-39 3.4 Summary 39-40 Chapter Ajax J2EE Web applications and integrated development strategy 40-50 4.1 Ajax in MVC mode 40-42 4.2 J2EE Web application design flaws introduced Ajax after 42-43 4.3 DWR framework Introduction 43-44 4.4 to solve a number of problems using DWR Ajax integration with J2EE 44-47 4.4.1 solve design flaws 44 4.4.2 Ajax and Web framework to solve integration problems using problem solving 44-46 4.4.3 tag libraries 46-47 4.5 introduces Ajax need to pay attention when aspects 47-48 4.5.1 client issues affecting 47 4.5.2 server thread question 47-48 introduced after the test Ajax 4.6 48-49 4.7 Summary 49-50 Chapter Ajax technology Web design application in the distribution of information management systems 50-68 <br / > 5.1 distribution information management System Web Profile 50-51 5.1.1 system background 50 5.1.2 technology Roadmap 50-51 5.2 Ajax technology development platform to build choose 51-56 5.2.1 Ajax framework 51 5.2.2 DWR framework to achieve a small probe 51 - 53 5.2.3 DWR framework configuration 53-56 5.2.4 integrated design ideas application 56 5.3 Ajax technology 56-67 < br /> 5.3.1 login authentication 56-59 5.3.2 Autocomplete - autocomplete 59-60 5.3.3 improve the page features 60-67 5.4 summary 67-68 Chapter VI summary and Outlook 68-70 6.1 summarizes 68 6.2 further work outlook promising 68-69 6.3 Ajax technology in the enterprise business information systems 69-70 References 70-72 Thanks 72

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 Huafeng Company Integrated Office System
  3. Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
  4. The Design and Implementation of the Hospital Wards Management System Based on J2EE
    ChenHao ·Hubei University ·2013 ·Master's thesis
  5. Design and Implementation of Fire Police Dispatch System Based on Java Technology
  6. The Research of Applications Based on Combination of SSH2and ExtJs
  7. The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
  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 Intelligent Management System of Assets
  12. Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
  13. The Research and Implementation of the Personal Tax Declaring System Based on the Web Event-Driven Architecture
    HuDa ·Hunan University ·2012 ·Master's thesis
  14. Research and Implementation of a Human Resource Management System Based on XX Company
  15. The Design and Implementation of Construction Project Construction Supervision Report Provided System for Weifang
    HanXiang ·Shandong University ·2013 ·Master's thesis
  16. The Design and Implementation of Teachers Professional and Technical Qualification Declaration System for Shenzhen City
    LiQiang ·Shandong University ·2013 ·Master's thesis
  17. The Design and Implementation of Subsidies for People with Disabilities Live Management System for Jinan City
    HanXinRong ·Shandong University ·2013 ·Master's thesis
  18. The Design and Implementation of Oil Supply Management System of the Ship
    PanLing ·Shandong University ·2013 ·Master's thesis
  19. The Design and Implementation of Contingency Plans and Resources Management System for Shijiazhuang City
    GongZuo ·Shandong University ·2013 ·Master's thesis
  20. The Design and Implementation of Administrative Institution Bank Account Management System
    ZhouChangLong ·Shandong University ·2013 ·Master's thesis