Creating a project using Spring Initializr

Let's start with creating a new project using Spring Initializr (http://start.spring.io/). The following screenshot shows the details:

A few things to note are as follows:

  • Group: com.mastering.spring.reactive
  • Artifact: spring-reactive-example
  • Dependencies : ReactiveWeb (to build a reactive web application) and DevTools (for auto-reload when the application code is changed)

Download the project and import it into your IDE as a Maven project.

Important dependencies in the pom.xml file are shown as follows:

    <dependency>      <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> ...

Get Mastering Spring 5.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.