Sun GlassFish Enterprise Server v3 Domain File Format Reference

module

Defines a stand-alone module or a component of a Java EE application.

An engine runs a sniffer during deployment, which is responsible for identifying a type of deployment artifact (such as a WAR file) and setting up the associated container (such as the web container). Multiple engines, each with its own sniffer, can be associated with a given module.

Superelements

application

Subelements

The following table describes subelements for the module element.

Table 1–108 module Subelements

Element 

Required 

Description 

engine

one or more 

Specifies an engine. 

property

zero or more 

Specifies a property or a variable. 

Attributes

The following table describes attributes for the module element.

Table 1–109 module Attributes

Attribute 

Default 

Description 

name

none 

The name of the module.