Understand web container, Tomcat container, Servlet container in one sentence

Tomcat container is a kind of web container, web container also includes weblogic container, JBoss container, etc.; Tcomcat, webLogic, etc. include servlet container.

Personal understanding of one sentence, if you have any objections, please comment below!

The following is a brief introduction to the concepts of these three:

Web container: An environment where multiple web applications can be deployed.

Tomcat Container: is an open source implementation of Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket (Java EE) technologies.

Servlet container: The full name is server applet, which means service program. The main function is to provide methods such as doGet() and doPost() to the upper-level container (Tomcat). Its life cycle instantiation, initialization, invocation, and destruction are controlled by the Tomcat container.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325520504&siteId=291194637