Versions Compared

Key

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

...

Code Block
InstalledLocalContainer container = new Jonas5xInstalledLocalContainer(
    new Jonas5xStandaloneLocalConfiguration("target/jonas5x"));
container.setHome("c:/jonas/jonas-5.1.2");

Deployable bundle = new DefaultDeployableFactory().createDeployable(
    container.getId(), Bundle("src/data/some-bundle.jar", DeployableType.BUNDLE);
container.getConfiguration().addDeployable(bundle);

container.start();

...