Explicitly access GWT serialization logic

46 views
Skip to first unread message

Marc Hacker

unread,
Dec 7, 2011, 6:12:47 AM12/7/11
to Google Web Toolkit
I have a class which implements Serializable and GWT knows how to send
objects over RPC. But I want to GET such an object from a Servlet (in
order to allow browser caching). Is there any way to explicitly
access GWT's underlying ability to serialize/unserialize my objects
(and the same on the server) even if I am sending the object using a
Servlet GET rather than RPC?

Thanks!

Thomas Broyer

unread,
Dec 7, 2011, 6:22:32 AM12/7/11
to google-we...@googlegroups.com
Yes; see http://jectbd.com/?p=1174

(I haven't digged into the code, but that one recipe requires you have a RemoteService interface and implementing class)
Reply all
Reply to author
Forward
0 new messages