Let us create our first synchronous, asynchronous and reactive microservices by following these steps:
- Using Eclipse STS, create a Maven project for a Spring Boot application named ch10-deptservice that will represent a microservice for the department domain. Then, create a POM configuration which includes all the needed Spring Boot 2.0.0.M2 starter POM libraries, such as WebFlux, Spring Context, JDBC, HikariCP connection pool, Ehcache, JPA, embedded reactive Tomcat container, Reactor Netty container, FreeMarker and Thymeleaf. Also include some required support libraries, such as MySQL 5.x connector and Rx Java 2.0:
<project xmlns="..."> <modelVersion>4.0.0</modelVersion> .... <packaging>war</packaging> <parent> <groupId>org.springframework.boot</groupId> ...