Jump to ratings and reviews
Rate this book

Learning RxJava: Reactive, Concurrent, and responsive applications

Rate this book
Build asynchronous, event-based, and concurrent applications with Java and ReactiveX

Key FeaturesExplore the essential tools and operators in RxJava and understand when to use themBuild scalable and high performing reactive applications with Observables and Subscribers Implement tools to perform complex tasks such as concurrency and backpressure effectivelyBook DescriptionRxJava is a library for composing asynchronous and event-based programs using Observable sequences for the Java virtual machine (JVM), allowing developers to build robust applications in less time. Learning RxJava covers the fundamentals of reactive programming to help you write reactive code, and introduces you to an effective approach to designing and implementing reactive libraries and applications.

Starting with a brief introduction to reactive programming concepts, you’ll get an overview of Observables and Observers, the core components of RxJava, and how to combine different streams of data and events. You’ll also learn simpler ways to achieve concurrency and maintain high performance without the need for synchronization. As you advance, you’ll be able to implement the backpressure strategy to cope with rapidly producing sources to prevent bottlenecks in your application. Finally, the book delves into custom operators, testing, and debugging, and then moves on to practical examples of using RxJava on Android as well as Kotlin.

By the end of the book, you’ll be able to confidently build asynchronous and responsive applications using RxJava.

What you will learnExplore RxJava’s reactive types such as Flowable, Single, Maybe, and CompletableDemystify Observables and how they express data and events as sequencesExplore Rx operators that transform, filter, and combine data and event sequencesUse multicasting to push data to multiple destinations and cache and replay themDiscover how concurrency and parallelization work in RxJava and implement complex tasks easilyBuild reactive Android applications using RxJava with KotlinWho this book is forIf you’re a Java developer who wants to learn reactive programming and its benefits, this book is for you. You’ll also find this book useful if you want to use RxJava to make your programs more resilient, concurrent, and scalable.

Table of ContentsThinking ReactivelyObservables and SubscribersBasic OperatorsCombining ObservablesMulticasting, Replaying, and CachingConcurrency and ParallelizationSwitching, Throttling, Windowing, and BufferingFlowables and BackpressureTransformers and Custom OperatorsTesting and DebuggingRxJava on AndroidUsing RxJava for Kotlin New

402 pages, Kindle Edition

Published June 20, 2017

34 people are currently reading
41 people want to read

About the author

Thomas Nield

23 books8 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
22 (39%)
4 stars
28 (50%)
3 stars
5 (8%)
2 stars
0 (0%)
1 star
1 (1%)
Displaying 1 - 7 of 7 reviews
Profile Image for Ľuboš Barskto.
90 reviews5 followers
December 3, 2020
Solidna a kompaktna ucebnica reaktivneho programovania v Jave (a Kotline). Napriek zopar vyhradam davam 5/5.

Obcas mi kniha pripominala skor API dokumentaciu a chybali mi trochu specifickejsie nazorne ukazky, vsetko to bolo na mna trochu prilis teoreticke. Ale autor to trochu vynahradza v prilohe.

Text bol trochu zbytocne roztahany. V kazdej kapitole je najskor napisane co sa ide preberat, potom je samotne "ucivo" a na konci v summary to vsetko znova zopakuje. Naco? Uplne zbytocny text.

Najviac som sa tesil na kapitolu o Androide. O to vacsie bolo sklamanie, ked okrem zopar ukazok na urovni Hello World tam nebolo nic a kapitola sama bola obsahovo najmensia zo vsetkych. Autorova poznamka na zaciatku kapitoly o tom, ze od citatela sa ocakava aspon zakladne vzdelanie z Androidu este aj s odkazom na odporucanu literaturu je imho zbytocna, pretoze kazdy priemerny Java programator tu kapitolu pochopi aj keby ani netusil co to je Android. Kapitola Using RxJava for Kotlin bola nastastie ovela lepsia a zachranila moj dojem z knihy.

Autor deklaruje, ze sa pri pisani inspiroval knihou Java Effective od Joshua Bloch. To je citit podla formy textu, ale nedosahuje az taku vysoku kvalitu ako tento uz spomenuty svaty gral Java programatorov. K tomu mi tam chyba trochu viac "deep under the hood insight"-ov a trochu strucnejsi, ale zato udernejsi text. Napriek tomu to je velmi poucne citanie a zmenilo to moj programatorsky pohlad na svet. Na ziadne data sa uz nebudem pozerat tak ako predtym.
6 reviews
May 20, 2018
I really enjoyed reading this book about reactive programming in java.
The book was scattered with a lot of simple to grasp examples to cement the reactive principles foundation. I found it covers approaches for a lot of real-world cases, such as backpressure, combining observable, concurrency and parallelization and even how to debug a reactive based application with rx-java.
I also enjoyed the fact the kotlin made its entrance in this book as a companion for further simplification.
For me it is the best way to start this interesting journey of reactive programming.

54 reviews11 followers
November 4, 2018
I started reading it after finishing 'Reactive Programming with RxJava: Creating Asynchronous, Event-Based Applications by Tomasz Nurkiewicz, Ben Christensen'.

Very similar to before-mentioned title. Not really worth reading both, choose one.
This book seems to be targeted to more beginner developer (more simple examples). Also it has more about Kotlin and Android. Finally it targets RxJava2, where ''Reactive Programming.. ' is about rxJava1, with short chapter with differences (differences are actually very little).
4 reviews
July 30, 2020
Great book. It is well written and easy to read. The examples are easy to follow.
Profile Image for Luiz Gustavo Pozzo.
8 reviews1 follower
June 16, 2019
As a positive side I would say the chapters are short and well grouped and it is reasonably easy to read.
But the author seems to lack knowledge on OO approach and keeps attacking it with poor comparisons to pend to his beloved reactive approach.
Examples are very verbose and hard to read, especially if you have a narrow screen (like I do), some of the examples you might need to just skip altogether.
I would not recommend this book if you are looking to find the real values to use reactive programming. But it can be useful to have some introduction to RxJava if you ignore the details.
Profile Image for Kotchaphan Muangsan.
4 reviews1 follower
November 15, 2020
Clearly and useful. If you want to understand the foundation of RxJava this book is good choice for you
Profile Image for Lizardo Enrique.
12 reviews
October 23, 2019
Enseña desde lo más básico hasta lo más difícil de entender como el paralelismo y la concurrencia, el manejo de hilos con RxJava.
Displaying 1 - 7 of 7 reviews

Can't find what you're looking for?

Get help and learn more about the design.