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?

  1. The Browser asks the HTTP server for a page, which is a Servlet Container.
  2. The Servlet Container delegates the request to a particular Servlet chosen between the Servlets it contains.
  3. The Servlet, which is a java object, is in charge of generating the text of the web page delivered to the container.
  4. The container returns the web page to the Browser which made the request.

Comments

Popular posts from this blog

Portlet Edit Mode (Portlet preference) to replace Portlet configuration

GoGo Shell & What can be deleted in Liferay Instance