On Tue, Aug 25, 2009 at 4:02 AM, Jerome Louvel <[email protected]>wrote:
> There is even a more transparent way if you define an annotated Java > interface (using the Restlet @Get, @Put, etc. annotations). Once it is > defined, you can use it on the server side in your ServerResource subclasses > or on the client side to consume it: > > MyAnnotatedInterface myClient > = myClientResource.wrap(MyAnnotatedInterface.class); > > In this case, automatic conversion is handled for you. > Nifty! I can't believe I missed this. It's a huge selling point for those who want to be good RESTful citizens but who also secretly hanker for transparent Java remoting: "Look! I call this method here and it calls the same method on another object on another machine. Magic..." --tim ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2387205

