On 17 mai, 16:40, pianista <beethovenor...@gmail.com> 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 google-web-tool...@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