I have several Java classes that I am using on the serverside, and I
am using these same classes to serialize the JSON stream back to my
GWT application.  I am using the JsonpRequestBuilder to call my
service and it is successfully returning a JavascriptObject.

What is the recommended approach to getting my objects from the json
response?, should it be a) coerce my JavaScriptObject into a string
and use the JsonParser, or b) write a 2nd implementation of my classes
using Javascript overlays?

I don't really like either approach, one option means having 2 types
of objects that I would need to keep in sync (the pojo and the
Javascript overlay) and the other way means I have to traverse the
Json myself, populating my object glyph manually.
Either way, ouch.

Thanks for listening,
Phillip

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

Reply via email to