There may be (not sure) such servlet containers. I have tested with
TomCat with an overriden init method it was called only once.
but javax.servlet.http.HttpServlet API says:
1. The servlet is constructed, then initialized with the init method.
2. Any calls from clients to the service method are handled.
3. The servlet is taken out of service, then destroyed with the destroy method, then garbage collected and finalized.
not mentioned about init under 2.
When we are studying about servlet's life cycle we must be sure about this.
Do you think servlet's life cycle is different from container to container ?
-Lanka