Top Java App Server - Servlet Container
https://stackify.com/tomcat-vs-jetty-vs-glassfish-vs-wildfly/
Tomcat Server is a servlet container
What is a Servlet?
A Servlet is a java object from a class which extends from javax.servlet.http.HttpServlet. This is not exactly true because there is different types of Servlets but HttpServlet is clearly the most used.
What is a Servlet Container?
A Servlet Container is a program which can receive requests from web pages and redirect those requests to a Servlet object.
How does this Servlet Container work?
- The Browser asks the HTTP server for a page, which is a Servlet Container.
- The Servlet Container delegates the request to a particular Servlet chosen between the Servlets it contains.
- The Servlet, which is a java object, is in charge of generating the text of the web page delivered to the container.
- The container returns the web page to the Browser which made the request.
Comments
Post a Comment