In Part 2 of this series, we will refactor the application written in Part 1 in order to use a database. We will take a short look at the choices we have when selecting a database in combination with Spring WebFlux, use an embedded version of the database, refactor the sources and find solutions for the problems we encounter. The code can be found at GitHub in branch mongodb.
Select a Database
When we take a look at Spring Initializr, we notice that only NoSQL database have reactive support. At the time of writing these are: