As a fully Java EE compliant application server, GlassFish implements all the mandatory containers for Java EE application components. In previous version of the GlassFish Server, the server software distribution always includes all the containers. GlassFish 3 no longer follows this monolithic approach, and its container architecture is highly dynamic and flexible. In GlassFish 3, the Web container, EJB container, and Message Driven Bean (MDB) containers are bundled as separate modules. These modules can be dynamically added to or removed from the GlassFish Server using the updatetool
or the IPS package management utility, pkg.
In addition, GlassFish implements a container for Ruby on Rails applications. For example, the following command installs the JRuby container and the previous configured Ruby on Rails gems.
# pkg install jruby jruby-gems
When the GlassFish Server is running, we can use the list-containers
command of the asadmin
CLI to check the...