WebContext webContext = new WebContext(application);
webContext.setId(webApp.getId());
webContext.setClassLoader(webModule.getClassLoader());
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();