Difference between an application server and a servlet container?

后端 未结 5 1060
臣服心动
臣服心动 2020-11-28 01:38

I am trying to understand the difference between a full fledged application server (e.g. Weblogic, JBoss etc.) and a servlet container (Tomcat, Jetty etc.).

How do t

5条回答
  •  天涯浪人
    2020-11-28 02:13

    In Layman terms : A web Server means: Handling HTTP requests (usually from browsers).

    A Servlet Container (e.g. Tomcat) means: It can handle servlets & JSP.

    An Application Server (e.g. GlassFish) means: *It can manage Java EE applications (usually both servlet/JSP and EJBs).

    For a beginner, it's probably better to stay with a simple servlet container.

提交回复
热议问题