I wonder if the init method of the HttpServlet is called after deserialization.
I don’t know when any container ever serializes a servlet, but it implements the Serializable interface, so there is an opportunity to do this.
The JavaDoc for the init method states: "Called by the servlet container to indicate to the servlet that the servlet is in maintenance."
Is deserialization equal to “commissioned”?
source share