Summary

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 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.