This page last changed on Apr 25, 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();
container.setHomeDir("c:/apps/orion-2.0.3");

Deployable ear = container.getDeployableFactory().createEAR("src/data/some.ear");
container.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">
  <ear earFile="src/data/some.ear"/>
</cargo-orion2x>
Document generated by Confluence on Apr 30, 2005 12:52