I'd love to generate all the boilerplate for each client-server call
Can you send a link to that class and some doc?
Cheers,
Philippe
It does look good. Just to make sure I've understood everything, I've
implemented a working sample and described it here
http://code.google.com/p/gwt-gae-book/wiki/GWTREST
How about making the model writing easier by implementing in Piriti an
annotation on the class name, which would auto-generate the two Reader
and Writer interfaces?
e.g.
@RESTModel
public class Activity extends DescriptiveModel
would generate ActivityReader.java and ActivityWriter.java
Or even better, somehow remove the need from having these interfaces
and let piriti/piriti-restlet handle this completely?
PS: it would help to have a description on tire-d8 homepage on what
each of the app/model/rest/... projects are doing and dependencies
between them. e.g. model seems to be just server-side model, not gwt.
Looks like there are no deps between client & server side, which is
nice as it allows replacing each of them with other project, as long
as they are using REST.
PPS: I don't understand what exactly piriti-
restlet.JsonModel(s)Response does, as isn't used in tire-d8.
Thanks Harald