Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
InstalledLocalContainer container = new Orion2xInstalledLocalContainer(
    new OrionStandaloneConfiguration("target/orion2x"));
container.setHome("c:/apps/orion-2.0.3");

Deployable ear = new DefaultDeployableFactory().createDeployable(
    container.getId(), EAR("src/data/some.ear", DeployableType.EAR);
container.getConfiguration().addDeployable(ear);

container.start();

...