Java REST API Tutorials

Java ecosystem has many mature libraries enabling us to write REST APIs with little or no code for wiring the various aspects, and only focus on core business logic. A few of such libraries are Spring WebMVC, Dropwizard, Jersey, RESTEasy etc.

This page is a comprehensive guide for building and testing the REST APIs in Java. It aims to cover the most important aspects of REST constraints and how to integrate those constraints into our API source code.

We will start with REST basics and REST Clients and gradually move towards advanced topics such as API security and API monitoring.

1. REST API Basics


3. REST Clients

3.1. Retrofit 2

3.2. RestTemplate

3.3. Misc

4. Testing

5. Aync

6. Security

7. Documentation, Monitoring and Advance Topics

8. Further Reading

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.

Our Blogs

REST API Tutorial