-
Get a monthly update on best practices for delivering successful software.
If you feel that DWR is a little too beefy for what it provides, then you might want to look at RAJAX (not to be confused with the Comet/Rajax that gets mentioned in DWR circles), a Java framework that does something similar, i.e. expose Java methods via Javascript proxies. In the words of the author of RAJAX:
I've been investigating the DWR Toolkit and other AJAX libraries and I didn't found then to be that simple and easy to use. DWR was kind of OK but 6Mb of code is way to much. So I wrote my own Remote AJAX library (RAJAX).
RAJAX is different because all the source code is under 60Kb (20Kb compiled) and you don't need to code configuration files for it. To keep it simple all the public methods whose name starts with "rajax" are automatically exposed to the JS layer. All communications between server and client are made using JSON notation and the library has been tested with success on Firefox, IE and Opera.
It may not be as featureful, but if you are looking for a DWR-lite, take a peek.
Related posts:
Topics: Ajax Frameworks
Just to let you know that today I’ve updated the library and made it even easier, no need to prefix method names, now i use Java Annotations for that task.
Comment by Paulo Lopes, Wednesday, May 30, 2007 @ 4:26 am