Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What is the difference between tomcat, jboss and glassfish?


Asked by Giana Warner on Dec 04, 2021 FAQ



JBoss and Glassfish are basically full Java EE Application Server whereas Tomcat is only a Servlet container. The main difference between JBoss, Glassfish but also WebSphere, WebLogic and so on respect to Tomcat but also Jetty, was in the functionality that an full app server offer.
Similarly,
Furthermore, in addition to being a Java EE application server, GlassFish handles EJB requests thus is also an EJB Container. Also, essentially it has its own web container (a derivative of Tomcat) and thus shares the same Catalina servlet container with Tomcat. Host any Java Web Framework listed here and much more!
Consequently, Tomcat is much more limited. One way to think of it is that JBoss is a Java EE stack that includes a servlet container and web server, whereas Tomcat, for the most part, is a servlet container and web server. Apache tomcat is just an only serverlet container it does not support for Enterprise Java application(JEE).
Moreover,
JBoss has maturity, whereas Glassfish is striving to be THE reference J2EE stack. A year from now, there'll be almost no difference to your production deployments. Here is the features difference between Glassfish and Jboss published by Oracle. Straight from the horses mouth.
Subsequently,
Given that it has fewer moving parts unlike GlassFish, Tomcat is much easier to manage and administer. Traditionally, it’s viewed as a “lite” version of Java EE since that it serves as a web server and a Servlet container. Unlike “heavyweight” Java EE application servers like GlassFish or JBoss.