Re: Waiting on multiple RPC calls

2009-01-05 Thread stephen.sm...@paretopartners.com
This is the first iv heard of this kinda thing. Im doing alot of seperate rpc calls. could you give me an example of how to cache it please. currently im just doing: /** An rpc call. */ private void getData() { SignoffService.Server.getInstance().getData(new AsyncCallbackString() {

Re: Waiting on multiple RPC calls

2008-12-19 Thread stephen.sm...@paretopartners.com
Thats exactly the thing i need!!! Thanks :) On Dec 18, 11:17 pm, Dobes dob...@gmail.com wrote: Hi Stephen, I had a lot of scenarios like this, so I added some utility classes to help.  For example, I have a class called AsyncCallbackGroup which allows you to wait on multiple parallel RPC

Re: Waiting on multiple RPC calls

2008-12-19 Thread rakesh wagh
performance: Are you acquiring handles to three different RPC services for your 3 calls? If yes, you can improve performance by clubbing them into a single call. If you do a little client side profiling, you will realize that creating a async reference on client side is a not a very quick

Waiting on multiple RPC calls

2008-12-18 Thread stephen.sm...@paretopartners.com
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

Re: Waiting on multiple RPC calls

2008-12-18 Thread stephen.sm...@paretopartners.com
yeah thats what i was doing but knew i could do the first 2 calls concurrently to improve the loadup speed and with this flag aproach i think i have achieved that rather effectively. The HTML idea is nice sugestion but the first 2 calls were to get a list of departments and the users details