Font Size: a A A

The Studies And Realization Of Web Application Based On Dwr Framework

Posted on:2010-09-28Degree:MasterType:Thesis
Country:ChinaCandidate:J P XuFull Text:PDF
GTID:2198360275986545Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet InformationTechnology, Web2.0 has become the hot topic of the Web technology research, Ajax also has become a new concept for Web application development. Ajax technology introduces the asynchronous mechanism, equivalent to add middle layer between Client and Server, It implements the asynchronous interaction between Browser and Server only through the asynchronous JavaScript using XMLHttpRequest embedded in the browser, user's request can be sent to the server relying on it and it doesn't need to reload the entire web page, brower receives the response and parses and processes the returned xml Document, and DOM updates and adopts the relevant user interface.More and more people are using the Ajax technology, however, traditional Ajax is short of the thinking of object-oriented, and there are a lot of problems such as difficult to manage messy code and the relatively low rate of code reuse and so on, the complexity of the development process and the lower of the development efficiency, because of it, lots of Web developers stop engaging upon the development about Ajax. Fortunately, varieties of Ajax development framework have emerged, reduced the threshold of the development, and improve the efficiency of the development. In this paper, on the basis of reference to domestic and foreign literature and projects practice, researches the Web development under the Ajax model, and studies the Framework DWR technology-based Ajax, it creates Cross-browser XMLHttpRequest and encapsulates the details of all operations, makes the realization of Ajax technology so easy to achieve. However, from the realization, the dwr Framework is not in line with the widely recongnized MVC model, this paper will be devoted to the research that DWR being applied to the MVC model, with the custom label, Struts and so on, Finally, DWR Framework is applied to the MVC model of J2EE platform successfully, this paper expect that the study can come to the aim of enhancing the Web application's development efficiency and improving the system's service capability, this thesis's research has well significance to Web application which based on Ajax technology.Firstly, the paper detailed analyzes the principles of implementation and critical technology included of Ajax technology, and introduces a Framework called Struts realized MVC model, and strong points and the development process of custom tags technology. Secondly, detailed study of the Ajax development Framework-DWR which can realize the Ajax technology. Finally, the paper discusses the problem in detail how to realize the seamless combination of Ajax and present MVC patterns, then, with the application of practical project, the paper study how to integrate the DWR framework into Web application with Struts reasonably, finally, the most important point of this paper is discussing how to realize"dynamic data validation","linkage drop-down box","search tips (Suggest)","data paging without refreshing"based on DWR, designed and realized the examples of the Web application based on DWR Framework, through these validate that the Framework has the following advantages:accomplished object mapping from JAVA to UI, the separation of data and the page displayed, achieved a more smooth process closer to the mode of the window, the application indicates that this kind of Framework has features of clearer structure and higher efficiency.
Keywords/Search Tags:Web2.0, Struts, DWR, Ajax
PDF Full Text Request
Related items