Closed Tillerino closed 8 years ago
Is there a way to use JAX-RS interfaces directly in GWTP? I mean
@GET @Path("/wherever") SomeObject doSomething();
vs.
@GET @Path("/wherever") RestAction<SomeObject> doSomething();
The obvious advantage being of course that the interface can be used in the backend as well. I could swear I read how to do this somewhere, but I can't find it anymore.
Yes, it is provided as an extension to GWTP's REST-Dispatch : dispatch-rest-delegates.
You can look into the carstore sample or the documentation
Is there a way to use JAX-RS interfaces directly in GWTP? I mean
vs.
The obvious advantage being of course that the interface can be used in the backend as well. I could swear I read how to do this somewhere, but I can't find it anymore.