EAServer configuration targets

EAServer defines the standard configuration targets in Table 2-1 to perform common deployment and setup tasks. Each Ant build file that is associated with a J2EE deployment archive can define these targets.

Table 2-1: EAServer configuration targets

Target

Description

The deploy target

Invoked immediately after deploying a J2EE archive, and before invoking the configure target. Executes one time only.

The configure target

Creates and configures entities, setting properties, assigning users to roles, creating user accounts, and so forth.

The recompile target

Executes the configure task (via an Ant dependency), then regenerates runtime classes required to integrate the entity implementation files into EAServer.

The refresh target

Reloads the entity implementation classes and applies property changes.

The undeploy target

Invoked before undeploying entities deployed from a J2EE archive. This target executes one time only.