Book Image

Hands-On Reactive Programming in Spring 5

By : Oleh Dokuka, Igor Lozynskyi
Book Image

Hands-On Reactive Programming in Spring 5

By: Oleh Dokuka, Igor Lozynskyi

Overview of this book

These days, businesses need a new type of system that can remain responsive at all times. This is achievable with reactive programming; however, the development of these kinds of systems is a complex task, requiring a deep understanding of the domain. In order to develop highly responsive systems, the developers of the Spring Framework came up with Project Reactor. Hands-On Reactive Programming in Spring 5 begins with the fundamentals of Spring Reactive programming. You’ll explore the endless possibilities of building efficient reactive systems with the Spring 5 Framework along with other tools such as WebFlux and Spring Boot. Further on, you’ll study reactive programming techniques and apply them to databases and cross-server communication. You will advance your skills in scaling up Spring Cloud Streams and run independent, high-performant reactive microservices. By the end of the book, you will be able to put your skills to use and get on board with the reactive revolution in Spring 5.1!
Table of Contents (12 chapters)

Project Reactor - the Foundation for Reactive Apps

In the previous chapter, we looked at an overview of the Reactive Streams specification and the way it augments reactive libraries by offering common interfaces and a new pull-push model for data exchange.

In this chapter, we are going to dive into Project Reactor, the most famous library in the reactive landscape, which has already become a vital part of the Spring Framework ecosystem. We will explore the most essential, frequently used Project Reactor APIs. The library is so versatile and feature-rich that it deserves a separate book of its own, it being impossible to cover its entire API in one chapter. We will look under the hood of the Reactor library and use its power to build a reactive application.

In this chapter, we are going to cover the following topics:

  • The history and motivation behind Project Reactor...