In this chapter, we looked at using the SpringWebFlux framework to build web-based microservices. We also discussed the various server options offered by the project and looked at the traditional annotation-based approach to building microservices. We discovered that all annotations from the SpringMVC project are supported by the SpringWebFlux project. Next, we took the functional approach to building microservices. We configured the router and handler functions to build the Fibonacci web service.

In the next chapter, we will look at ways to add other web features, such as web page templates, security, and much more, to a SpringWebFlux-based web service.

Get Hands-On Reactive Programming with Reactor now with O’Reilly online learning.

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