简体   繁体   中英

Does Glassfish server consist of a webserver also?

According to the defintions I have read a web server is something which can serve http requests (eg Apache).

A web container is something which can serve servlets and JSPs etc. Since Tomcat can both serve http requests and also serve servlets and JSPs it is considered as both a web server and a web container.

Application servers like Jboss, Glassfish are fully fledged java EE servers which also include other containers apart from the web container.

Now in order for an application server like Glassfish to work on its own, it also needs a web server(an http server) built into it. Therefore it should contain a webserver to work on its won, and if it doesn't contain a webserver built into it, there should be a way to plug existing web servers like apache to this application server.

What is the actual implementation? does it include a webserver or we should plug webservers into these java EE application servers?

Yes, it includes a full web tier. The Java Servlet spec covers much of this.

According to this post glassfish should not be included a web server. it should be only Application server ... could you please explain more.............. http://evisioncsse.blogspot.com/2019/11/servers.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM