final HttpServer server = GrizzlyHttpServerFactory.createHttpServer(getBaseURI(), createApp());
System.out.println(String.format("Application started.%nTry out %s%nHit enter to stop it...", BASE_URI + "/form"));
System.in.read();
server.stop();
} catch (IOException ex) {
Logger.getLogger(App.class.getName()).log(Level.SEVERE, null, ex);
}
}
}