This is a simple servlet container created to understand how servlet containers like tomcat work.
1.) Process a http request and create ServletRequest and ServletResponse objects.
2.) Init Servlet object by calling init() method
3.) call service method with req and res objects
4.) destroy() of servlet is called on app stop.
Referred from I-webx.gitbooks.io/how_tomcat_works/content/a_simple_servlet_container/application_1.html