Reactive Programming with RxJava: Creating Asynchronous, Event-Based Applications

Reactive Programming with RxJava: Creating Asynchronous, Event-Based ApplicationsReviews
Author: Tomasz Nurkiewicz, Ben Christensen
Pub Date: 2016
ISBN: 978-1-491-93165-3
Pages: 372
Language: English
Format: PDF/EPUB
Size: 12 Mb


In today’s app-driven era, when programs are asynchronous and responsiveness is so vital, reactive programming can help you write code that’s more reliable, easier to scale, and better-performing. With this practical book, Java developers will first learn how to view problems in the reactive way, and then build programs that leverage the best features of this exciting new programming paradigm.
Authors Tomasz Nurkiewicz and Ben Christensen include concrete examples that use the RxJava library to solve real-world performance issues on Android devices as well as the server. You’ll learn how RxJava leverages parallelism and concurrency to help you solve today’s problems. This book also provides a preview of the upcoming 2.0 release.

  • Write programs that react to multiple asynchronous sources of input without descending into “callback hell”
  • Get to that aha! moment when you understand how to solve problems in the reactive way
  • Cope with Observables that produce data too quickly to be consumed
  • Explore strategies to debug and to test programs written in the reactive style
  • Efficiently exploit parallelism and concurrency in your programs
  • Learn about the transition to RxJava version 2

Table of Contents

1. Reactive Programming with RxJava
2. Reactive Extensions
3. Operators and Transformations
4. Applying Reactive Programming to Existing Applications
5. Reactive from Top to Bottom
6. Flow Control and Backpressure
7. Testing and Troubleshooting
8. Case Studies
9. Future Directions
A. More HTTP Server Examples
B. A Decision Tree of Observable Operators