5051525354555657585960
{ Component component = new Component(); component.getServers().add(Protocol.HTTP, 8182); TestApplication app = (TestApplication) getContainer().lookup(Application.class, "test"); component.getDefaultHost().attach(app); component.start();