Font Size: a A A

The Research And Application Of The AJAX Technology In J2EE

Posted on:2009-11-14Degree:MasterType:Thesis
Country:ChinaCandidate:Y T LiFull Text:PDF
GTID:2178360245455386Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Technology of the Web2.0 has become a trend of the Internet development in recent years.Compared with the traditional mode of Webl.O, the core concept of application architecture under the mode Web2.0 has two aspects: development to services and development to platform. The Web2.0 applications have been designed to meet the interacted requirement of the online consumer and the Website, which could achieve an effect of web page refresh speed approaching to local process running speed in client side, and integrate diversification, immediateness and interaction in Web applications.Ajax technology is the core of the Web2.0. Ajax technology resolves shortages and defects related to flexibility and interactivity in the traditional Web performance, has achieved an interactivity mode between the client and server, so that has greatly improved the efficiency and performance of the internet through the asynchronous mode. This emerging technology has been discussed in detail in this thesis.DWR is an open-source project under the Apache permission and is a very specialized J2EE Ajax framework. By help of the DWR, the Java module's method can be directly exposed to the long-distance JavaScript client side. This way is similar to the Java long-distance method call, but the difference is that the client side call in DWR is a JavaScript code not a Java code. Using DWR, we can develop an Ajax application through a simple way. The major function of the DWR is to expose the Java method of server to the client side.The J2EE Platform in this thesis adopts the Spring framework from the open-source community, makes use of its two core mechanisms, the IOC and AOP. Through a specific example the thesis shows that the Spring framework with this two core mechanisms is fully applicable to the most function and performance requirements of general enterprise applications. Besides, because "non-invasive" features of the Spring, it can easily integrated Hibernate object/relation mapping scheme to replace the traditional EJB Entity Bean solution. Therefore, if Ajax technology and J2EE platform can be perfectly combined, the Web performance layer and the business logic layer would be better separated, making the performance layer, the business layer and the data layer of the new structure easily maintained and expanded, hence truly embodying the unification of the interaction with platform of the Web2.0.This thesis proposes a scheme which is using the Ajax (DWR) technology, Spring technology and Hibernate technology to achieve a perfect integration and seamless connectivity between the Ajax framework and the J2EE platform. A specific demo system has been made by integerating the Ajax (DWR)/Spring/Hibernate technologies, which shows good performance and potential broad development possibilities.
Keywords/Search Tags:Ajax, DWR, J2EE, MVC, Spring, Hibernate
PDF Full Text Request
Related items