AJAX made simple with DWR
JavaWorld have a great article on ajax development with DWR, a freeware which reduces development time and the likelihood of errors by providing commonly used functions and removing almost all of the repetitive code normally associated with highly interactive web sites.
Many examples on the Internet show all the necessary steps for using XMLHttpRequest to communicate with the server from within an HTML file. When manually writing and maintaining the XMLHttpRequest code, a developer must deal with many potential problems, especially with cross-browser compatibilities like different DOM implementations. This can lead to countless hours spent coding and debugging JavaScript code, which is not known to be developer friendly.
The article is great to get started with AJAX and DWR, it shows configuration and useof this tool with sample JSP code.You can find more about DWR in the official website ( Available for download under Apache licence ).


Subscribe to AJAX Magazine's feed