Skip to content

Metrink/croquet

Repository files navigation

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:

  1. Create a settings.yml file with your configuration.

  2. Create a Croquet instance.

final Croquet<Settings> croquet =
        CroquetBuilder.create(args)
                      .setHomePageClass(MyHomePage.class)
                      .addPageMount("/blah", BlahPage.class)
                      .addHealthCheck("/statuscheck", HealthCheck.class)
                      .pidFile("croquet.pid")
                      .build();
  1. Call run() on the Croquet instance.

About

Combination of Wicket, Jetty, Hibernate, and Guice

Resources

License

Stars

Watchers

Forks

Packages

No packages published