Hi Community,

I am not sure whether this is a good idea or not. I would like have
people in GWT community to take a look and see whether this is
something worth continuing. Any comments, suggestions are highly
appreciated.

The idea is to simplify some repeating work when we are working with
RequestBuilder to consume a remote web service, especially something
RESTful service by leverage annotation and GWT generator.

RestGWT steals some concepts and nice ideas from JAX-RS, WADL and
Restlet and to a RestRemote serivce is quite like creating a GWT RPC
service.

    * Inherits module org.edgebox.gwt.rest.EdgeboxRest in your module
declaration;
    * Define an interface but needs to extends interface RestRemote;
    * All methods list in above interface become remote methods, but;
    * Each method must have annotation @Endpoint applied;
    * Usually return type of each method is void;
    * Each method must have a parameter RequestCallback;

So the implementation of service is then generated by
GWT.create(MyService.class) as GWT RPC does.

For detail information and introduction, please see
http://code.google.com/p/edgebox/wiki/RestRemoteUserGuide

Cheers,
Keke
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to