Book Image

Learning Reactive Programming with Java 8

By : Nickolay Tzvetinov
Book Image

Learning Reactive Programming with Java 8

By: Nickolay Tzvetinov

Overview of this book

Table of Contents (15 chapters)
Learning Reactive Programming with Java 8
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


With this chapter, not only did we find out how to write programs using RxJava, but we also saw how to test any aspect of them. We've learned about a few new operators and the BlockingObservables class too.

The RxJava library has many operators that are not mentioned in this book, but we've studied the more important and useful ones. You can always refer to https://github.com/ReactiveX/RxJava/wiki for the rest. There is also much more regarding subscriptions, backpressure, and the Observable instance life cycle, but with your current knowledge, it won't be hard to master everything in the library. Remember that this is just a library, a tool to write code. The logic is the important thing here. This way of programming is somewhat different from the procedural one, but once you get into it, it feels natural.

In the next and final chapter, we will learn how to free resources allocated by subscriptions, how to prevent memory leaks, and how to create our own operators that can be chained...