Get an easy introduction to reactive streams in Java to handle concurrency, data streams, and the propagation of change in today's applications. This compact book includes in-depth introductions to RxJava, Akka Streams, and Reactor, and integrates the latest related features from Java 9 and 11, as well as reactive streams programming with the Android SDK.
Reactive Streams in Java explains how to manage the exchange of stream data across an asynchronous boundary—passing elements on to another thread or thread-pool—while ensuring that the receiving side is not forced to buffer arbitrary amounts of data which can reduce application efficiency. After reading and using this book, you'll be proficient in programming reactive streams for Java in order to optimize application performance, and improve memory management and data exchanges.
What You Will Learn
• Discover reactive streams and how to use them
• Work with the latest features in Java 9 and Java 11
• Apply reactive streams using RxJava
• Program using Akka Streams
• Carry out reactive streams programming in Android
Who This Book Is For
Experienced Java programmers.
Author(s): Adam L. Davis
Edition: 1
Publisher: Apress
Year: 2019 [2018]
Language: English
Pages: 139
City: New York
Tags: Programming;Reactive programming;Java;RxJava;Concurrency;Android;Akka Streams;Reactor
Front Matter ....Pages i-xiv
Introduction to Reactive Streams (Adam L. Davis)....Pages 1-3
Existing Models of Concurrency in Java (Adam L. Davis)....Pages 5-13
Common Concepts (Adam L. Davis)....Pages 15-24
RxJava (Adam L. Davis)....Pages 25-39
Reactor (Adam L. Davis)....Pages 41-56
Akka Streams (Adam L. Davis)....Pages 57-70
Android and RxJava (Adam L. Davis)....Pages 71-82
Spring Boot and Reactor (Adam L. Davis)....Pages 83-103
Akka HTTP and Akka Streams (Adam L. Davis)....Pages 105-128
Conclusions (Adam L. Davis)....Pages 129-130
Back Matter ....Pages 131-139