Páginas

sexta-feira, agosto 10, 2012

DWR is a framework used to
work with Ajax call on Java implementation. An Ajax call is an asynchronous
request of the system resource, in other words, while the request is processed,
the user can interact with other resource of the system until the response of
the first request.

Is part of the Ajax call: HTML, XHTML, CSS,
DOM XML, XMLHttpRequest, JavaScript. The great benefit of the Ajax
utilization, certainly, is the possibility of providing better interaction of use
with the application, buildrich applications for web
and finally there’s a better response time.

In order to optimize the
development of Java Applications using Ajax, the use of DWR is a good choice,
because it is an OpenSource tool, it provides security calls to Java codes by integrable browser with the features of the main frameworks
market. It encapsulates details and
complexity of the implementation of XMLHttpRequest, and performs Java class conversion for a JavaScript implementation, this way, allowing the use of a browser.

The diagram below shows the DWR use in an Ajax
request to Java implementation.

THE PROJECT

Using the Eclipse IDE, create a new Dynamic
Web Project, as shown on the picture below.