# module

abstract fun module(module: EarModule, type: String): DeploymentDescriptor(source)

Add a module to the deployment descriptor.

#### Return

this.

#### Since

1.0

#### Parameters

module

The module to add.

type

The type of the module, such as "ejb", "java", etc.

abstract fun module(path: String, type: String): DeploymentDescriptor(source)

Add a module to the deployment descriptor.

#### Return

this.

#### Since

1.0

#### Parameters

path

The path of the module to add.

type

The type of the module, such as "ejb", "java", etc.