- Put dwr.jar in your Project's lib.
- Put the Commons Logging Jar in your Projects's lib. ( Dwr uses Apache Commons Logging )
- Add the configuration settings in your web.xml for the DWR Servlet.
- Add the debugging parameters for the DWR Servlet during the development phase.
- Add the dwr.xml under WEB-INF and configure it to expose your Java Classes.
Download example here
It’s an eclipse project, you can just download and import the project and run