Why use Glassfish instead of Apache? What's it strengths and weaknesses?

前端 未结 4 447
醉酒成梦
醉酒成梦 2021-01-30 03:49

Sorry for my ignorance here, but when I hear the word webserver, I immediately imagine Apache, although I know people use Microsoft\'s IIS too. However since I\'ve been hanging

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-30 04:32

    GlassFish is an Application Server which can also be used as a Web Server (Http Server).

    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).

    You should use GlassFish for Java EE enterprise applications.

提交回复
热议问题