This page last changed on Nov 15, 2006 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:
InstalledLocalContainer container = new Orion2xInstalledLocalContainer(
new OrionStandaloneConfiguration("target/orion2x"));
container.setHome("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 containerId="orion2x" home="c:/apps/orion-2.0.3" action="start">
<configuration>
<ear earFile="src/data/some.ear"/>
</configuration>
</cargo>
|