Reactive Programming

In the previous chapter, we discussed implementing typical data flow use cases with microservices using Spring cloud data flow.

Functional Programming marks a shift from traditional imperatives to a more declarative style of programming. Reactive programming builds on top of functional programming to provide an alternative style.

In this chapter, we will discuss the basics of reactive programming.

The microservice architecture promotes message-based communication. One important tenet of reactive programming is building applications around events (or messages). Some of the important questions we need to answer include the following:

  • What is reactive programming?
  • What are the typical use cases?
  • What kind of support does Java provide for it?
  • What are the reactive features in Spring WebFlux?
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset