What Is A Servlet Container?
- A Servlet container is an intermediary between a Web server and
Servlets hosted by the server.
- The container loads, initializes, and executes the Servlets.
- It typically handles HTTP requests by translating them into Java objects
and passing them to the Servlet.
- The Servlet processes the request, produces a response (as Java
objects), and the container translates the response back into HTTP
format.
- A Servlet container can be considered part of an application
server, which manages other types of software components
besides Servlets.
- Apache Tomcat is a Servlet container.