Chapter 5. Direct Web Remoting (DWR)for Java Jocks
One advantage of DWR is that you can forget about the boilerplate code we have used in other hacks to get the XMLHTTP and XMLHttpRequest objects working. This framework also includes easy techniques for populating web page widgets with server data, while largely removing the required knowledge of Document Object Model programming. The one caveat to using DWR is that you must use a Java-based server-side solution, because DWR works with Java servlets and objects behind the scenes.