I have some rather complex data objects that currently get marshaled from 
client to server and server to client (comet communication).  Btw, not 
complex in quantity of data, or data relationships, but data is arrays of 
lots of different derived interface/class types.  The data used to be just 
serialized but now it needs to be sent via JSON.

Is it possible to perform regular Java object serialization in the GWT 
client?  If so, I could solve this by converting that binary output into 
Base64 encoded string and send that via the new JSON API and then just 
reverse that on the server.  Is it even possible to do this in GWT?

Of course the other approach is to convert the Java object into a full JSON 
object but given it's complexity I haven't found a way to do that yet (I 
posted separate newsgroup message on that approach).  Either approach would 
be fine for me, I can worry about performance differences later.

-Dave

-- 
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/-/GfBKkCRHfqgJ.
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.

Reply via email to