On 17 mai, 16:40, pianista <[email protected]> wrote:
> I'm developing a multiplayer game with GWT.
>
> The question is in my servletImpl, what happens when more than one
> user try to use it?
>
> I think, that servletImpl locks until the first user action finish,
> and then execute the second user action.

Only if your method is "synchronized", but I wouldn't do this as it
would hurt performances of your app as soon as there are more than a
few concurrent users.
By default they just execute concurrently, in different threads.

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