Firstly, before any1 goes off on 1 about "You cant do syncronous rpc
calls in gwt" or "JS is single threaded" im fully aware of these
facts. However i also know that like many things there are usually
work arounds or at least better solutions than i have thought of...

So my problem is this. I have 3 RPC calls. The first 2 are totally
seperate however the third depends on the result of both the first 2.

The 3rd call is unfortunately rather large as it requires some DB
access on the server and sorting/filtering etc. and i would therefor
like to get this going asap.

There is also alot of other initalisation code on the client that can
be done at almost any stage. so it would be preferable to do this
during any (and possibly all) of the rpc calls

This is all currently done in module load and i am chaining my 3 rpc
calls. This causes the total load time to be a bit slow. This seems
such a horrible way to do it and even for me it gets a little
confusing and i wrote it.

Does any one have a better solution to how i can "wait" on the first 2
calls before making the 3rd whilst still executing the client
initalisation code.

Thanks in advance,
Steve
--~--~---------~--~----~------------~-------~--~----~
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