This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
If two threads try to acces the init method of a servlet then what will happen ? If one thread is executing the statements in the init block of servlet, then at the same time if another request comes,then as the init is not been initialized what will happen to the request.Will the request die or wait till init is over and then call the service method.? Regards, aakash
In my opinion, since a servlet instance is not available to handle requests until the servlet container calls the initialization method, I would think this possibly unique conflict would be handled by the servlet container. my $0.02 Craig