A Simple Comparison of Four Major Java EE Containers (Tomcat, JBoss, Resin, Glassfish)

There are many popular Java EE containers in use today: Tomcat, JBoss, Resin, Glassfish, and others. Below is a simple comparison of these four Java EE containers. 1. Tomcat is a Java Web application server strongly supported by Apache. Thanks to its excellent stability, rich documentation, and large user base, it enjoys the widest popularity in the open-source community.

                                

There are many popular Java EE containers in use today: Tomcat, JBoss, Resin, Glassfish, and others. Below is a simple comparison of these four Java EE containers.

銆€銆€1. Tomcat is a Java Web application server (note: a servlet container) strongly supported by Apache. Thanks to its excellent stability, rich documentation, and large user base, it enjoys the widest popularity in the open-source community.

銆€銆€2. JBoss, as a Java EE application server, is not only a Servlet container but also an EJB container, making it popular among enterprise developers and filling the gap left by Tomcat being only a Servlet container.

銆€銆€3. Resin is also merely a Servlet container. However, due to its excellent runtime speed, it is highly favored in the lightweight Java Web domain, especially in internet Web services. Many well-known companies use it as their Java Web application server, such as 163, ku6, and others.

銆€銆€In the commercial application server space, the main ones are WebLogic and WebSphere. Among them, I used WebLogic for quite a long time, and at that time I only used it as a Servlet container. However, under the same conditions, in terms of performance and ease of use, it was far superior to Tomcat.

銆€銆€4. GlassFish is a Java EE server (Java EE container) launched by Sun, with a fairly active open-source community that continuously improves its usability through community feedback. From GlassFish v1 and v2 to today’s GlassFish v3, it has matured. GlassFish is a free, open-source application server that implements Java EE 5. The Java EE 5 platform includes the following latest technologies: EJB 3.0, JSF 1.2, Servlet 2.5, JSP 2.1, JAX-WS 2.0, JAXB 2.0, Java Persistence 1.0, Common Annotations 1.0, StAX 1.0, and more.

銆€銆€It supports clustering and enhances the availability and scalability of the deployment architecture through in-memory session state replication. It has excellent support for clustering; you can easily increase your website’s load capacity simply by adding machines. In terms of parsing capability, its HTML throughput is on par with the Apache server, something Tomcat cannot match. It supports directory deployment and hot deployment, resolving Tomcat’s shortcomings in hot deployment capabilities. In terms of versioning, it is more user-friendly, offering a simplified version for development, a version specifically dedicated to deploying web projects

Leave a Comment

Your email address will not be published.