webContext.getInjections().add(new Injection("SimpleEJBLocalBean", "simple", RestWithInjections.class));
webContext.setJndiEnc(ctx);
containerSystem.addWebContext(webContext);
SystemInstance.get().setComponent(ContainerSystem.class, containerSystem);
ServiceInfo serviceInfo = new ServiceInfo();
serviceInfo.className = HttpServerFactory.class.getName();
serviceInfo.properties = new Properties();
serviceInfo.properties.setProperty("port", "-1");
serviceInfo.properties.setProperty("bind", "foo");