Make remote calls to Java server objects from JavaScript

DWR is a nifty toolkit that allows developers to make remote calls to Java server objects from JavaScript, without any Java applets or plug-ins. DWR uses Ajax requests behind the scenes; the toolkit’s users, however, do not have to deal with XMLHttpRequest programming. These hacks populate select lists from Java arrays and Maps; call custom Java objects from their JavaScript proxies or counterparts; and use JavaScript objects to call built-in Java objects. It is a treat for developers who are immersed in both Java and JavaScript.

Leave a Reply