Hello everyone,
I have been looking around for a really long time now on these client-
server communication strategies and have had a difficult time choosing
the right approach for my application.  It also doesn't help that I
don't have a very strong background on server sided coding :P

In any case, I am trying to find the approach that would give the best
performance on the client-side.

I know that GWT-RPC uses it's own protocol to get you to the server
side.  It is built on top of RequestBuilder and converts your data
into a content-type of (what I read was) text/plain.  From here, it
will reconstruct your java object onto the servlet.

JavaScript Overlays says that it has no overhead.

RequestFactory is supposed to be even faster than GWT-RPC.  No
serialization is required, but apparently deserialization is.

Upon these, there is the old RequestBuilder with a JSONParser.

I want to minimize the amount of time it takes for the client to
deserialize it's data with a balance of data size.

My objects aren't too deep.  At most, an object would contain a couple
of strings, and two arraylists of 100 objects than contain a couple of
other strings.

But if I can avoid the deserialization part (where I believe most of
the response time is being consumed by) by a simple eval on a JSON or
something, that would be great.

Other notes: I have flexibility in what server I can use.  However,
eventually I would like to make web services for non-gwt platforms,
though I feel like I could reuse the same business logic and use a
different entry point to the service.
QUESTIONS:
1. What does it mean for JavaScript Overlays to have no overhead?
2. Which one would you say is fastest in terms of client side
performance?
3. What does it mean that JavaScriptObjects are Opaque?
4. Since JavaScript Overlays describe us extending JavaScriptObjects,
does that mean converting it to a JSON requires less (or even zero)
time than would GWT-RPC?

Thank you so much for your input~

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

Reply via email to