Is there a Javascript library like DWR that can generate javascript stub for REST api. We are using Jersey/JSR-311 for REST on server and was wondering that instead of using libraries like Jquery or dojo if there is a library that can take a Rest class annotated using JSR311 annotations and create javascript stub like DWR does?
Asked
Active
Viewed 1,683 times
2 Answers
2
This seems like one of the big benefits of RESTEasy over Jersey. See http://docs.jboss.org/resteasy/docs/2.0.0.GA/userguide/html/AJAX_Client.html for more info.
I don't know whether the functionality works on Jersey or not.
What I'd like to see: Generated API test pages for REST and SOAP pages, like .NET has.

crimbo
- 10,308
- 8
- 51
- 55