IMHO GWT doesn't change anything On Thu, Mar 25, 2010 at 11:33 AM, Muhammad Saifullah < [email protected]> wrote:
> simply use the keyword synchronized in your servlet doService() or doGet() > or doPost() method. > thats it.Then concurrent threads cant enter at the same time. one after > another. > > > On Thu, Mar 25, 2010 at 7:08 PM, Ho Jimmy <[email protected]> wrote: > >> Hi, >> >> I am new to GWT. So, this is a newbie question but I have google it a >> while but I am not able to find a simple example. >> How can I create the servlet thread safe? For traditional servlet, we use >> Threadlocal. So how can we define the similiar for GWT RPC servlet? >> Pls also describe a bit about the thread pool and I can have some >> direction of my learning. >> >> Thanks >> >> -- >> 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. > -- A coward is incapable of exhibiting love; it is the prerogative of the brave. -- Mohandas Gandhi -- 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.
