Dropwizard Tutorials: REST Services With Dropwizard 5

Dropwizard is a Java framework for building REST services that bundles Jetty, Jersey, Jackson, Hibernate Validator and Metrics into one runnable JAR with an application port and an admin port. These Dropwizard tutorials cover the current release, Dropwizard 5, on Java 25, and every article comes with a complete Maven project on GitHub.

We recommend reading them in order. Start with the hello world service, which sets up the project layout and the fat JAR, and after that add health checks, an HTTP client and authentication to the same kind of service.

1. Getting Started

The first article builds a small REST API from scratch and explains the configuration class, the application class, resources, ports and tests.

2. Production Features

A service in production needs to report its state, call other services safely and protect its endpoints.

3. Troubleshooting

Most startup failures of a packaged Dropwizard JAR come from the way the fat JAR is built.

4. Related JAX-RS Tutorials

Dropwizard resources are plain JAX-RS classes served by Jersey, so the Jersey tutorials apply to them as well.

5. References

Happy Learning !!

Source Code on Github

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.