DWR is a simple servlet plugin that allows you to expose selected Java classes via JavaScript. DWR comprises a servlet to marshal requests from JavaScript and code to generate the browser code to make calling Java code directly from a web form simple. DWR can make writing interective DHTML pages (like GMail) very much simpler.