Yes, it is possible, every rpc call is asyc, so if you call two rpc methods
one after the other they'll be executed in parallel. In general it is better
to batch the "parallel" methods in one rpc call.

On Thu, Jan 27, 2011 at 1:41 PM, joe kolba <[email protected]> wrote:

> Why not just make one call to a service and call different methods within
> your service object?  You can put methods in your serviceImpl that are not
> RPC methods.
>
>
> On Thu, Jan 27, 2011 at 11:17 AM, ghost23 <[email protected]>wrote:
>
>> hello,
>>
>> i have a service. I create an instance of it via
>> GWT.create(MyService.class). Then i call a method on it, get the
>> result, everything works nicely.
>>
>> Now i need to call two methods on that service more or less in
>> parallel. I tried this (either using the same service instance or two
>> distinct ones),
>> but now i get weird results, sometimes, the objects cannot be de-
>> serialized or i get exceptions, that the objects are of another type
>> and so on.
>>
>> Is it basically possible to make two parallel calls to a service?
>>
>> Thank you.
>> Sven
>>
>> --
>> 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]<google-web-toolkit%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>  --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

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