We recently did this as well. I ended up picking JBoss Resteasy for our implementation but either of these frameworks (Jersey/RESTEasy) should do the trick. If you are using GWT-P, you just need to extend your 'action handlers' to become REST Service components. Let me know if you run into issues. I can provide samples.
On Friday, May 4, 2012 12:06:02 PM UTC-4, Chris wrote: > > Why don't you try JAX-RS with Guice? I had a similar requirement to > augment a GWT / Guice application with REST services and ended up > going with Jersey - which worked out really well for our purposes. In > our case injecting application service objects into REST classes was > very straight forward. Jersey will also marshal your DTOs to JSON. > > On May 3, 11:14 pm, Santosh <[email protected]> wrote: > > We are using gwt platform as the UI framework with GIN. Service layer > > is built using guice where all gwt service calls are handled through > > RPC call using guice filter(Action Handler classes). > > > > Every request from GWT goes via guice dispatch servlet module which > > takes the action based on the requested service to appropriate action > > handlers. > > Can you please suggest me on best and fastest way to convert each of > > these service action handlers to restful web services. Idea is to > > remove the RPC mechanism and bring restful web service calls between > > gwt platform and guice with json data format communication. > > As of now all requests are coming to guice filter which internally > > takes it to action handler(service implementation class) using guice > > handler module. > > Please provide your suggestions at the earliest. Let me know if any > > additional inputs are needed. > > > > Thanks in advance > > Santosh -- You received this message because you are subscribed to the Google Groups "google-guice" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-guice/-/t9ZZQNfmZz8J. 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-guice?hl=en.
