Hi Jaap,
I would also consider restructuring your code to only require one RPC call,
where the data you needed to get from both individual calls can be returned
in that one single call. This would be ideal if the payload would still be
of a reasonable size as you would avoid extra HTTP roundtrips and sidestep
the hit in execution speed when starting up your application using nested
calls or waiting on a flag.

Hope that helps,
-Sumit Chandel

On Sat, Aug 29, 2009 at 5:20 PM, Jaap <jaap.hait...@gmail.com> wrote:

>
> Hi,
>
> When starting my webapp I do two RPC calls. I need the data of both of
> them in order to display something. If you work with threads with a
> native program you just use semaphores to achieve this. What's the
> way to do this in GWT?
>
> Thanks
>
> Jaap
> >
>

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