What you want is easy to do using requestbuilder + autobeans. Autobeans are thought to handle json string representations and convert them to javaobjects, they work in server and client sides and are full testable. http://code.google.com/p/gwt-autobean-binding/ http://code.google.com/p/google-web-toolkit/wiki/AutoBean
Another option I use very often in client side because of its simplicity and performance is gwtquery ajax + json-databinding http://code.google.com/p/gwtquery/wiki/Ajax http://code.google.com/p/gwtquery/wiki/DataBinding In both cases you can use any json backend. - Manolo On Sat, Oct 13, 2012 at 12:35 PM, Manikanda raj S <slsm...@gmail.com> wrote: > I'm using GWT RPC Calls for Server Side Request so far and it's pretty > good. I'm planning on separating my Code into Servlets and GWT Client Side. > Since i'm using RPC calls, it seems impossible. The Reason i want to do > like this is , i'm planning to provide white labeling option for my App. So > if i could separate the code to client code and servlets, i can simply > provide the White Labeled client code to my Partners to host on their > server. I have checked with GWT RequestBuilder and 'Access-Control > Allow-Origin : Origin from Client Header' and it works fine. > > However i need to implement gwt-serialization over RequestBuilder request > and Servlet Responses. How can i do this ..? > > Things I like to make: > > - RequestBuilder sending Serializable String(Which is a * > IsSerialiazible* object) to Servlet. > - Servlet deserializes the String to Java Object,Processes and Returns > the String Response of a '*IsSerialiazable*' (Another) Object. > - The Response String received in GWT RequestBuilder deseriailizes it > back to a Java Object(JS after Compiling). > > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/ZNwK3SwtKOUJ. > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.