Reader small image

You're reading from  Hands-On Reactive Programming in Spring 5

Product typeBook
Published inOct 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781787284951
Edition1st Edition
Languages
Tools
Right arrow
Authors (2):
Oleh Dokuka
Oleh Dokuka
author image
Oleh Dokuka

Oleh Dokuka is an experienced software engineer, Pivotal Champion, and one of the top contributors to Project Reactor and Spring Framework. He knows the internals of both frameworks very well and advocates reactive programming with Project Reactor on a daily basis. Along with that, the author applies Spring Framework and Project Reactor in software development, so he knows how to build reactive systems using these technologies.
Read more about Oleh Dokuka

Igor Lozynskyi
Igor Lozynskyi
author image
Igor Lozynskyi

Igor Lozynskyi is a senior Java developer who primarily focuses on developing reliable, scalable, and blazingly fast systems. He has over seven years of experience with the Java platform. He is passionate about interesting and dynamic projects both in life and in software development.
Read more about Igor Lozynskyi

View More author details
Right arrow

Reactive landscape

In the previous sections, we learned how to use pure RxJava and how to combine it with Spring Web MVC. To demonstrate the benefits of this, we have updated our temperature-monitoring application and improved the design by applying RxJava. However, it is worth noting that Spring Framework and RxJava is not the only valid combination. A lot of application servers also value the power of the reactive approach. As such authors of a successful reactive server called Ratpack decided to adopt RxJava as well.

Along with callbacks and a promise-based API, Ratpack provides RxRatpack, a separate module that allows to convert Ratpack Promise to RxJava Observable easily, and vice versa, as shown in the following code:

Promise<String> promise = get(() -> "hello world");
RxRatpack
.observe(promise)
.map(String::toUpperCase)
.subscribe...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Reactive Programming in Spring 5
Published in: Oct 2018Publisher: PacktISBN-13: 9781787284951

Authors (2)

author image
Oleh Dokuka

Oleh Dokuka is an experienced software engineer, Pivotal Champion, and one of the top contributors to Project Reactor and Spring Framework. He knows the internals of both frameworks very well and advocates reactive programming with Project Reactor on a daily basis. Along with that, the author applies Spring Framework and Project Reactor in software development, so he knows how to build reactive systems using these technologies.
Read more about Oleh Dokuka

author image
Igor Lozynskyi

Igor Lozynskyi is a senior Java developer who primarily focuses on developing reliable, scalable, and blazingly fast systems. He has over seven years of experience with the Java platform. He is passionate about interesting and dynamic projects both in life and in software development.
Read more about Igor Lozynskyi