Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

Module Runtime Environment

The following figure illustrates the environment for individually deployed module-based deployment.

Figure 3–3 Module runtime environment

After deployment, a module is represented in domain.xml
as an ejb-module element and expanded in a directory under j2ee-modules.

For file system entries, modules are extracted as follows:


The applications directory contains the directory structures described in Directory Structure. The generated/ejb directory contains the stubs and ties that an ACC client needs to access the module; the generated/jsp directory contains compiled JSP files.

Lifecycle modules (see Chapter 10, Developing Lifecycle Listeners) are extracted as follows:


Configuration entries are added in the domain.xml file as follows:

         ...module configuration...

The type of the module in domain.xml can be lifecycle, ejb, web, or connector. For details about domain.xml, see the Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Reference.