Jetty, Tomcat, Nginx, Geronimo, Glassfish: I'm confused

Jetty and Tomcat are web-containers, while Geronimo, Glassfish and JBoss support the whole J2EE stack (more or less). And, tataaa, they use/include Tomcat or Jetty for web-containers. The most important part of a fullblown J2EE server besides the web-container used to be the EJB-container allowing for deployment of EJBs, having them run in a transactional context etc. Today, J2EE is actually called Java EE. Entity EJBs (JPA) can run outside the EJB-container, say in Tomcat, but then outside the transaction handling that an EJB-container would provide.


Tomcat and Jetty are web servers can manage servlets, but not Java EE.

Glassfish and JBOSS can manage Java EE fully.

And Nginx is a HTTP server and a reverse proxy. You can for example load balance multiple deployed Glassfish instances behind an nginx server.

Nginx is also used for security reasons, so you can hide your application server behind it.