Skip to content

Instantly share code, notes, and snippets.

@jdewind
Created February 8, 2013 03:29
Show Gist options
  • Save jdewind/4736378 to your computer and use it in GitHub Desktop.
Save jdewind/4736378 to your computer and use it in GitHub Desktop.
public static void startJetty() throws Exception {
configureServerProperties();
configureServer();
configureWebAppContext();
configureWebAppDeployer();
server.addLifeCycle(webAppDeployer);
server.addHandler(context);
server.start();
while (server.isStarting()) {
Thread.sleep(250);
}
findInjector();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment