User class with Reactive – REST

In the first chapter, we introduced Ticket and User, two classes involved with our web service. As the Ticket class is a little complex compared to the User class, we will use the User class to understand Reactive components.

As Reactive in Spring 5 is not fully stable yet, we are going to talk about Reactive in only a few chapters. So we will create a separate package for Reactive-based REST APIs. Also, we will add Reactive-based dependencies in our existing pom.xml file.

First, we will have to add all Reactive dependencies. Here, we will add the code in our existing pom.xml file:

<?xml version="1.0" encoding="UTF-8"?><project xmlns="" xmlns:xsi="" ...

Get Building RESTful Web Services with Spring 5 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.