We actually use a JAXB marshaller on our server to unmarshall responses from our rest services and then send those objects directly down to the client via GWT RPC. The way to accomplish this is to create a simple GWT project and copy and paste the jaxb source into it. Once done create your gwt.xml with the source path pointing to your jaxb packages and then inherit that in your GWT module. This will allow you to unmarshall your responses and send them directly down to the client for caching.
On Nov 5, 6:29 am, Andreas <[email protected]> wrote: > We're start a project using gwt 2.1. What is the best way to > communicate with a rest interface. Especially how to batch multiple > requests and how to cache response on the client using webstorage or > other client side technics. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
