DWR is Easy Ajax² for Java
¹ Direct Web Remoting
²A synchronous J avascript a nd X ML
DWR consists of two main parts:
A Java Servlet running on the server that processes requests and sends responses back to the browser.
why use dwr?
script browser side
Avoid complex XMLHttpRequest code, DOM manipulation, use DWR instead ;)