This page last changed on Jul 17, 2005 by vmassol.

Definition

Deploy an EAR that will be started when the container starts

Example using the Java API

Starting Orion 2.x with an EAR to deploy:

Container container = new Orion2xContainer(
    new OrionStandaloneConfiguration("target/orion2x"));
container.setHomeDir("c:/apps/orion-2.0.3");

Deployable ear = container.getDeployableFactory().createEAR(
    "src/data/some.ear");
container.getConfiguration().addDeployable(ear);

container.start();

Example using the Ant API

Starting Orion 2.x with an EAR to deploy:

<cargo-orion2x homeDir="c:/apps/orion-2.0.3" action="start">
  <configuration>
    <ear earFile="src/data/some.ear"/>
  </configuration>
</cargo-orion2x>
Document generated by Confluence on Jul 21, 2005 06:52