Croquet
Croquet is a combination of Wicket, Jetty, Hibernate, and Guice. Croquet is to Wicket as DropWizard is to Jersey.
Very Quick Start
You can find the complete Croquet documentation here, and JavaDocs here. However, if you just want to jump into it, this is all you need to get going:
-
Create a settings.yml file with your configuration.
-
Create a
Croquetinstance.
final Croquet<Settings> croquet =
CroquetBuilder.create(args)
.setHomePageClass(MyHomePage.class)
.addPageMount("/blah", BlahPage.class)
.addHealthCheck("/statuscheck", HealthCheck.class)
.pidFile("croquet.pid")
.build();
- Call
run()on theCroquetinstance.