But, what is the meaning of "The servlet container can make this guarantee
by synchronizing access to a single instance of the servlet, or by
maintaining a pool of servlet instances and dispatching each new
request to a free servlet."?
Does it mean multiple instances were created (Dynamically??)
under server control? Any parameter to set, if any, this value, say in
jserv with apache?
Ensures that servlets handle only one request at a time. This interface has no methods. If a servlet implements this interface, you are guaranteed that no two
threads will execute concurrently in the servlet's If a servlet implements this interface, the servlet will be thread safe. However, this interface does not prevent synchronization problems that result from servlets accessing shared resources such as static class variables or classes outside the scope of the servlet. ----- Original Message -----
|
Title: RE: Servlet Life Cycle - Single Thread Model
- Servlet Life Cycle - Single Thread Model Joe Lei
- Re: Servlet Life Cycle - Single Thread Model Craig R. McClanahan
- Re: Servlet Life Cycle - Single Thread Model Siros Supavita
- Re: Servlet Life Cycle - Single Thread Model Joe Lei
- Re: Servlet Life Cycle - Single Thread Model Hendrik Schreiber
- Re: Servlet Life Cycle - Single Thread Model Siros Supavita
- Re: Servlet Life Cycle - Single Thread Model Milt Epstein
- Re: Servlet Life Cycle - Single Thread Model Ted Neward
