Font Size: a A A

Research And Application Of Ajax Web Framework Based On AOP And IoC

Posted on:2009-10-08Degree:MasterType:Thesis
Country:ChinaCandidate:Z D YangFull Text:PDF
GTID:2178360272974532Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the popularization of web application and the continuous development of web technology, Web-based network services characterized by user experience stand for current trend of the Internet development. During several changes in the system structure of web applications, a new interactive web application model has been put forword—Ajax(Asynchronous JavaScript and XML). Ajax-based interaction model provides a new kind web design pattern. Ajax design pattern has not only changed the traditional web application pattern, it also opens up a new piece of web development field. However, the traditional way has been challenged by Ajax, and Ajax will bring about some problems which limit the application of Ajax such as the complexity of the programming model and so on. So this paper, use AOP and IoC technologies, Spring as the representative of the lightweight J2EE-based, design a suitable environment to the Ajax development framework to enable the client to server's general visit simplified, made to meet the demands of rapid development.In this paper, firstly Ajax's component technologies will be researched. Secondly AOP and IoC technologies will be discussed. Based on AOP and IoC, we design and implement an Ajax Web framework including client and server, and apply it to practical development in this project.On the client side, the use of a toolkit to enhance the ability of JavaScript language, how the different browsers circumstances, in line with the various compatible browser widget library. The design of client framework based on IoC container and AOP modules above toolkit achieve the realization of client Ajax and asynchronous communication on server side, as well as render the XML data through the template file which server-side return and shape a complete user interface.On the server side, we design a lightweight J2EE framework of the overall hierarchical structure, raised floors are given corresponding components of the framework design. In the system we use Struts to achieve manifest layer and business layer, use Hibernate to achieve data lasting layer, and Spring to integrate the use of that layer and business layer. AOP allows the separation of crosscuttin implementation. So we can integrate Ajax into lightweight J2EE development framework by AOP.In the end,this paper also gives a realization of the lightweight J2EE-based systems Ajax rich client applications for specific examples, the prospect and the lack of system for the analysis.
Keywords/Search Tags:Ajax, Lighted J2EE Framework, AOP, IoC
PDF Full Text Request
Related items