Versions Compared

Key

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

...

Code Block
LocalContainer container = new Jetty4xEmbeddedLocalContainer(
    new JettyStandaloneConfiguration("target/jetty4x"));

Deployable war = container.getDeployableFactorynew DefaultDeployableFactory().createWARcreateDeployable(
    container.getId(), "src/data/some.war", DeployableType.WAR);
war.setContext("application-context");
container.getConfiguration().addDeployable(war);

container.start();

...