Font Size: a A A

The Design And Research Of Enterprise J2EE Web Application Based On Ajax Framework

Posted on:2008-08-26Degree:MasterType:Thesis
Country:ChinaCandidate:B ChenFull Text:PDF
GTID:2178360212490961Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:Ajax, J2EE, Struts, Partial regeneration, DWR
PDF Full Text Request
Related items