This part will be focused on the GWT client part, using RestyGWT
This part will be really short because there is not much say as RestyGWT make things really easy ! By the way thanks for the people who have written and contributed to this library : chirino and mkristian and all others.
The first thing you have to do is the inherits the resty stuff in your *.gwt.xml file
Thanks to this line, when extending the RestService Interface, the restyGWT generator will be able to generate the Java code corresponding to your interface.
To generate the client Java code, restyGWT is using the JAX-RS annotations to define the url of the request, the parameters to set etc. The code generated by RestyGWT will use com.google.gwt.http.client.Request class to query the server.
So all you have to do is extending the RestService interface and using the right JAX-RS annotations