Chapter 2: Ant-Based Configuration

EAServer includes built-in Ant support and uses Ant build files to perform many administrative and deployment tasks. You can run Ant configuration scripts to define and configure entities such as EJB modules, Web applications, data sources, servers, and so forth.

EAServer generates Ant configuration scripts when you deploy J2EE archives. The generated script applies settings from the archive’s deployment descriptor to the new EAServer entities. You can also embed a user configuration file in J2EE archives to configure settings beyond those that can be specified by the deployment descriptor.

Entity types that are not deployed in J2EE archives can also be created or managed with configuration scripts. For example, you can create data sources, restart servers, and manage security roles and domains.