dropwizard-guicey-examples icon indicating copy to clipboard operation
dropwizard-guicey-examples copied to clipboard

Dropwizard guicey examples

dropwizard-guicey examples

License CI

About

IMPORTANT Examples were moved into the core repository (for guicey 6, dropwizard 3 and beyond)

Usage examples for dropwizard-guicey (and extensions)

If you can't find answer for your problem in provided examples, please request new sample by creating new issue.

All samples build with guicey 6.0.0-beta.1 (dropwizard 3.0.0-beta.5). Extensions project BOM used for guicey, guice and dropwizard dependencies management.

Guicey examples

  • Getting started - example application from getting started documentation chapter
  • Extensions - ways of extensions declaration
  • Servlets and filters - servlets and filters registration example
  • Sub resources - sub resource usage example
  • Plug-n-play bundle - example of bundle, activated after its appearance in classpath
  • Default installers re-configuration - using only subset of default installers
  • Custom installer implementation - manual extension declaration example

Guicey ext modules examples

  • JDBI3 - JDBI3 ext module example
  • EventBus - guava eventbus ext module example
  • SPA HTML5 routes - SPA ext module example: HTML5 routes correct handling on server (for single page application)
  • Server pages exmaple - GSP example: server side templates and assets management
  • Server pages SPA exmaple - use GSP templates for SPA index page

Other integrations

  • Auth - dropwizard-auth integration example
  • Hibernate - dropwizard-hibernate integration example
  • Guice-validator - guice-validator integration example
  • Dropwizard-jobs - dropwizard-jobs integration example