Container:
- Container: is an s/w or application which can manage total life cycle operations of given resource like creating object managing object executing life cycle methods, destroying object and etc.
- Applet viewers: it is the container for executing our applet
- Servlet container:
- it is the built-in s/w of web server s/w having ability of executing Servlet , Jsp web resource program of web application
- For every Jsp, it will be generated equivalent servlet. So Jsp execution is nothing but its equivalent servlet execution
- Due to this servlet container is also able to execute Jsp program
- Servlet container is also called as web container
- We can not install servlet container separately it will be installed only with web server s/w installation
- Servlet container is the mandatory s/w to execute servlet Jsp program and it internally used jvm
- Servlet container is the container for executing Servlet , Jsp program
- Servlet container is like aquarium managing fishes called resource like Servlet , Jsp program
- The additional service that are configurable on application to make our application as perfect and accurate application for example transaction, managing, security, jdbc connection pool and etc
- Responsibility of Servlet container:
- provides environment to mange and execute servlet, Jsp web resource program
- manages life cycle of servlet , Jsp web resource program
- process the request by executing web resource program
- converts Jsp to equivalent Servlets and execute them