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="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...