The following figure illustrates the environment for application-based deployment.

For file system entries, applications are extracted as follows:
domain-dir/applications/j2ee-apps/app-name domain-dir/generated/ejb/j2ee-apps/app-name domain-dir/generated/jsp/j2ee-apps/app-name
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.
Configuration entries are added in the domain.xml file as follows:
<server>
<applications>
<j2ee-application>
...application configuration...
</j2ee-application>
</applications>
</server>
For details about domain.xml, see the Sun Java System Application Server Platform Edition 8.2 Administration Reference.