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
Chapter 1Reactive Programming with RxJava
Reactive Programming and RxJava
When You Need Reactive Programming
How RxJava Works
Mechanical Sympathy: Blocking versus Nonblocking I/O
Chapter 2Reactive Extensions
Anatomy of rx.Observable
Subscribing to Notifications from Observable
Controlling Listeners by Using Subscription and Subscriber<T>
Use Case: From Callback API to Observable Stream
Chapter 3Operators and Transformations
Core Operators: Mapping and Filtering
More Than One Observable
Advanced Operators: collect(), reduce(), scan(), distinct(), and groupBy()
Slicing and Dicing Using skip(), takeWhile(), and Others
Writing Customer Operators
Chapter 4Applying Reactive Programming to Existing Applications
Tomasz Nurkiewicz is a Senior Software Engineer. He has spent the last decade coding in Java, and loves back-end development. He is passionate about JVM languages and open source technologies. He is also a frequent blogger for DZone, and speaks at leading Java conferences around the world. Tomasz can be reached on Twitter @tnurkiewicz and on his blog at www.nurkiewicz.com.
Comments about oreilly Reactive Programming with RxJava:
I haven't finished reading the book and already think it is possible one of the best books I have read in the recent times, maybe I would like to also seen some complementary text about some of the other Rx integration points like: Vert.x or Camel and some data stores that already have an Rx API like CoucheBase.
Bottom Line Yes, I would recommend this to a friend