What happens when Web Server shutdown

What happens when Web Server shutdown

When Web Service shutdowns then following tasks will be happened:

  • ServletContext object will be destroyed.
  • Thread pool will destroyed.
  • Container will destroy all the Servlet by invoking the destroy() method.
  • Container will destroy all the Filter by invoking the destroy() method.
  • Container will destroy all Listener.
  • All other object running inside the Container will be destroyed and finally Container is down and unable to process the user request.

0 comments :

Post a Comment