The GlassFish Server implements a container-based architecture to provide the runtime support for enterprise application components. In this chapter, we will describe the web and EJB containers in GlassFish, and will discuss how to configure these containers and relevant services. The goal of this chapter is to provide you with a clear understanding of the container architecture, and how these containers and services work together to support applications deployed to the GlassFish Server.
Containers provide runtime support for Java EE application components. They also implement the required protocols and mechanisms, so that application components can communicate with the other components and services.
As a fully Java EE compliant GlassFish, GlassFish implements a container-based architecture, as illustrated in the following figure.
GlassFish implements a web container and an EJB container...