As J2EE developers, it seems we are constantly focused on
"backend mechanics." Often, we forget that the main success of J2EE has
been around the Web application; people love developing applications
that utilize the Web for many reasons, but mainly because the ease of
deployment allows a site to have millions of users with minimal cost.
Unfortunately, over the years we have invested too much time in the
back end and not enough time in making our Web user interfaces natural
and responsive to our users.
This article introduces a methodology, Ajax, you can use to
build more dynamic and responsive Web applications. The key lies in the
combination of browser-side JavaScript, DHTML, and asynchronous
communication with the server. This article also demonstrates just how
easy it is to start using this approach, by leveraging an Ajax
framework (DWR) to construct an application that communicates with
backend services directly from the browser. If used properly, this
tremendous power allows your application to be more natural
and responsive to your users, thereby providing an improved browsing
experience.
The sample code used in this application is available for
download as a standalone WAR file.