A simple comparison of the four Java EE containers (Tomcat, JBoss, Resin, Glassfish)

There are many popular Java EE containers: Tomcat, JBoss, Resin, Glassfish, etc. Below is a brief comparison of the four Java EE containers. 1. Tomcat is a Java Web application server strongly supported by Apache. Because of its excellent stability and rich documentation, it is widely used by a wide range of people, so it is the most widely used in the open source field.

There are many popular Java EE containers: Tomcat, JBoss, Resin, Glassfish, etc. Below is a brief comparison of the four Java EE containers.

1. Tomcat is a Java Web application server (Note: servlet container )   strongly supported by Apache . Because of its excellent stability and rich documentation, it is widely used by people, so it is most widely favored in the open source field.

  2. As a Java EE application server, Jboss is not only a Servlet container, but also an EJB container , so it is welcomed by enterprise developers, thus making up for the shortcoming that Tomcat is only a Servlet container.

  3. Resin is also just a Servlet container , but because of its excellent running speed, it is very popular in the field of lightweight Java Web , especially in the field of Internet Web services, many well-known companies have adopted it as their Java Web Application server, such as 163, ku6, etc.

  Commercial application servers mainly include: Weblogic and Websphere. I have used Weblogic for a long time. 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 is better than Tomcat is much better.

4.glassfish is a Java EE server ( Java EE container)  launched by Sun , a relatively active open source community, constantly improving its usability through community feedback, through glassfish v1 glassfish v2 to today's glassfish v3, it has moved towards Mature. Glassfish is a free, open source application service 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 Annonations 1.0, StAX 1.0, etc.

  It supports clustering and enhances the availability and scalability of the deployment architecture through in-memory session state replication. It has good support for clusters. It can be as simple as adding machines to easily increase the load capacity of the website. In terms of parsing capability, its throughput capability for html is comparable to that of apache server, which is incomparable to tomcat. It supports directory deployment and hot deployment, which solves the defect of tomcat's hot deployment capability. The version is more user-friendly. There are simplified versions for development, versions specially used for deploying web projects, and versions that fully comply with the j2ee standard.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325812299&siteId=291194637