Learn how to use RxJava and its reactive Observables to build fast, concurrent, and powerful applications through detailed examples
Whether you are a Java expert or at a beginner level, you'll benefit from this book, because it will teach you a brand new way of coding and thinking.
The book starts with an explanation of what reactive programming is, why it is so appealing, and how we can integrate it in to Java. It continues by introducing the new Java 8 syntax features, such as lambdas and function references, and some functional programming basics. From this point on, the book focuses on RxJava in depth. It goes through creating Observables, transforming, filtering, and combining them, and concurrency and testing to finish with extending the library itself.
This book is a definite tutorial in RxJava filled with a lot of well-described examples. It explains reactive programming concepts in plain and readable language, without scientific formulas and terms.
What You Will Learn
Discover what reactive programming is and how you can benefit from it
Get to grips with the new functional features of Java 8 and some functional theory
Create RxJava Observable instances from virtually any data source
Transform, filter, and accumulate your data using various RxJava operators
Combine multiple data sources in one dataset, using custom logic
Write concurrent programs with ease, scheduling actions on various workers
Learn about unit testing asynchronous RxJava logic
Extend RxJava by writing your own operators and factory methods
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.