Cargo : Static deployment of EAR
This page last changed on Jul 17, 2005 by vmassol.
DefinitionDeploy an EAR that will be started when the container starts Example using the Java APIStarting 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 APIStarting 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 |