Life cycle is managed by the container in which it is deployed.

When a request comes in and is mapped by the httpd,

  1. If the servlet is not already loaded, then load the servlet class
  2. create an instance
  3. call the init method
  4. call the service method
  5. If the container needs to remove the servlet, it will call the destroy method