Skip to Content
Reactive Systems in Java
book

Reactive Systems in Java

by Clement Escoffier, Ken Finnigan
November 2021
Intermediate to advanced
296 pages
7h 17m
English
O'Reilly Media, Inc.
Book available
Content preview from Reactive Systems in Java

Chapter 7. Mutiny: An Event-Driven Reactive Programming API

In Chapter 5, we introduced reactive programming and how it helps implement reactive applications. Then, in Chapter 6, we discussed how Quarkus uses Mutiny to allow implementing reactive applications. This chapter focuses on Mutiny itself.1

This chapter presents Mutiny’s concepts and common patterns, which will help you understand the next few chapters. Mutiny is the API used for every reactive-related feature from Quarkus. You will see a lot more of it when delving into the construction of reactive applications and systems with Quarkus.

Why Another Reactive Programming Library?

That’s a great question! As you have seen in Chapter 5, other popular reactive programming libraries exist. So why another one?

In the past few years, we’ve observed how developers developed reactive systems and used reactive programming libraries. Through this experience, we observed the challenges faced by the developers. In a nutshell, reactive programming is hard to learn and hard to read. Writing and maintaining reactive code creates a significant burden, slowing the adoption of reactive approaches.

When we look at reactive programming usage, we immediately see a steep learning curve, which makes reactive programming limited to top-notch developers. Indeed, the functional programming roots of reactive programming are both elegant and limiting at the same time. Not every developer has a functional background. We have seen developers lost ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java 8 in Action

Java 8 in Action

Mario Fusco, Alan Mycroft, Raoul-Gabriel Urma
Java Concurrency in Practice

Java Concurrency in Practice

Brian Goetz, Tim Peierls, Joshua Bloch, Joseph Bowbeer, David Holmes, Doug Lea

Publisher Resources

ISBN: 9781492091714Errata PageSupplemental Content