Using REST with GWT

2010-11-05 Thread Andreas
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 google-web-tool...@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.



Re: Using REST with GWT

2010-11-05 Thread marius.andreiana
On Nov 5, 12:29 pm, Andreas koebe...@gmail.com 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.
Until you get more answers, feel free to look on
http://groups.google.com/group/gwt-platform/browse_thread/thread/1cf3efb5780e5b80
and last sample at
http://code.google.com/p/gwt-platform/issues/detail?id=179

-- 
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-tool...@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.



Re: Using REST with GWT

2010-11-05 Thread bconoly
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 koebe...@gmail.com 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 google-web-tool...@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.



Re: Using REST with GWT

2010-11-05 Thread Harald Pehl
I'm successfully using Restlet in several projects: http://www.restlet.org.
Restlet comes in different editions: GAE, JEE, JSE, GWT and Andoid. So
you can use it on the client and server side.

- Harald

On Nov 5, 2:05 pm, marius.andreiana marius.andrei...@gmail.com
wrote:
 On Nov 5, 12:29 pm, Andreas koebe...@gmail.com 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.

 Until you get more answers, feel free to look 
 onhttp://groups.google.com/group/gwt-platform/browse_thread/thread/1cf3...
 and last sample athttp://code.google.com/p/gwt-platform/issues/detail?id=179

-- 
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-tool...@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.