Reactive Programming with RxJava: Creating Asynchronous, Event-Based Applications
- Length: 372 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2016-10-30
- ISBN-10: 1491931655
- ISBN-13: 9781491931653
- Sales Rank: #703185 (See Top 100 Books)
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
Chapter 1. Reactive Programming with RxJava
Chapter 2. Reactive Extensions
Chapter 3. Operators and Transformations
Chapter 4. Applying Reactive Programming to Existing Applications
Chapter 5. Reactive from Top to Bottom
Chapter 6. Flow Control and Backpressure
Chapter 7. Testing and Troubleshooting
Chapter 8. Case Studies
Chapter 9. Future Directions
Appendix A. More HTTP Server Examples
Appendix B. A Decision Tree of Observable Operators