Hi, I am in urgent need of the below topic solution. As said earlier, I am new to GWT and Restful WS. Could not find how we can convert these guice Action Handler classes to Restful WS. Please provide me with a sample on how we can proceed with changes.
Appreciate your positive reply. Thanks Santosh On Tue, May 8, 2012 at 12:59 PM, Santosh <[email protected]>wrote: > Now we have decided to use Jersey for building restful webservices. As > jersey builds WS by annotating the POJO's, I am confused on how our > gwt-p action handlers gets converted to a restful WS which the gwt-p > client can invoke it. Technology of using guice, gwt and RestfulWS > was for the first time and hence more confusion on the needed > changes. > Can you please provide me a sample on the necessary changes? > > On May 5, 2:10 am, SandMan <[email protected]> wrote: > > 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 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. > > -- You received this message because you are subscribed to the Google Groups "google-guice" 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-guice?hl=en.
