Hi everybody,
I want to know whether the
Servlet's destroy() method is called when there is a power failure.The scenario is that a servlet instance is loaded and is processing client requests and suddenly the power failure occurs(On the server side). Now, does the Servlet container or the APPlication server call the destroy() method of the servlet and unload its instance.
Also, What happens when the Server restarts.