Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Reactive Programming in Spring 5

You're reading from   Hands-On Reactive Programming in Spring 5 Build cloud-ready, reactive systems with Spring 5 and Project Reactor

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher Packt
ISBN-13 9781787284951
Length 556 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Igor Lozynskyi Igor Lozynskyi
Author Profile Icon Igor Lozynskyi
Igor Lozynskyi
Oleh Dokuka Oleh Dokuka
Author Profile Icon Oleh Dokuka
Oleh Dokuka
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Why Reactive Spring? FREE CHAPTER 2. Reactive Programming in Spring - Basic Concepts 3. Reactive Streams - the New Streams' Standard 4. Project Reactor - the Foundation for Reactive Apps 5. Going Reactive with Spring Boot 2 6. WebFlux Async Non-Blocking Communication 7. Reactive Database Access 8. Scaling Up with Cloud Streams 9. Testing the Reactive Application 10. And, Finally, Release It! 11. Other Books You May Enjoy

Early reactive solutions in Spring

We have previously mentioned that there are a lot of patterns and programming techniques that are capable of becoming building blocks for the reactive system. For example, callbacks and CompletableFuture are commonly used to implement the message-driven architecture. We also mentioned reactive programming as a prominent candidate for such a role. Before we explore this in more detail, we need to look around and find other solutions that we have already been using for years.

In Chapter 1, Why Reactive Spring?, we saw that Spring 4.x introduced the ListenableFuture class, which extends the Java Future and makes it possible to leverage the asynchronous execution of operations such as HTTP requests. Unfortunately, only a handful of Spring 4.x components support the newer Java 8 CompletableFuture, which introduces some neat methods for asynchronous...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime