Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning RxJava

You're reading from   Learning RxJava Build concurrent applications using reactive programming with the latest features of RxJava 3

Arrow left icon
Product type Paperback
Published in Feb 2020
Publisher Packt
ISBN-13 9781789950151
Length 412 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Nick Samoylov Nick Samoylov
Author Profile Icon Nick Samoylov
Nick Samoylov
Thomas Nield Thomas Nield
Author Profile Icon Thomas Nield
Thomas Nield
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Section 1: Foundations of Reactive Programming in Java
2. Thinking Reactively FREE CHAPTER 3. Observable and Observer 4. Basic Operators 5. Section 2: Reactive Operators
6. Combining Observables 7. Multicasting, Replaying, and Caching 8. Concurrency and Parallelization 9. Switching, Throttling, Windowing, and Buffering 10. Flowable and Backpressure 11. Transformers and Custom Operators 12. Section 3: Integration of RxJava applications
13. Testing and Debugging 14. RxJava on Android 15. Using RxJava for Kotlin 16. Other Books You May Enjoy Appendix A: Introducing Lambda Expressions 1. Appendix B: Functional Types 2. Appendix C: Mixing Object-Oriented and Reactive Programming 3. Appendix D: Materializing and Dematerializing 4. Appendix E: Understanding Schedulers

What this book covers

Chapter 1, Thinking Reactively, covers a brief history of Reactive Extensions and RxJava, and describes how to set up your first RxJava project and build your first reactive application. It also touches on the differences between RxJava 1.x, 2.x, and 3.0.

Chapter 2, Observable and Observer, provides the foundation for the following presentation of RxJava by introducing the two main terms Observable and Observer. It also presents the Observable specializations of Single, Completable, Maybe, and Disposable.

Chapter 3, Basic Operators, presents the basic RxJava operators. This is necessary for understanding the more complex operators described in the chapters that follow.

Chapter 4, Combining Observables, starts the transition from making RxJava useful to making it powerful. It covers the operators that allow several source observables to be combined into one resulting Observable.

Chapter 5, Multicasting, Replaying, and Caching, explains what multicasting is, and how to replay and cache emissions. It also presents how to use the Subject object and automatic connections.

Chapter 6, Concurrency and Parallelization, explores more of the nuances of RxJava and how to effectively leverage concurrency.

Chapter 7, Switching, Throttling, Windowing, and Buffering, explains and demonstrates the buffering, windowing, throttling, and switching of emissions.

Chapter 8, Flowable and Backpressure, discusses different ways to cope with backpressure while processing reactive streams. Backpressure happens when data/events are produced faster than they can be consumed.

Chapter 9, Transformers and Custom Operators, explains how to compose new operators from existing ones, how to create a new one from scratch, and how to use rxjava2-extras and rxjava2-extensions for that purpose.

Chapter 10, Testing and Debugging, covers configuring JUnit, blocking subscribers, blocking operators, using TestObserver and TestSubscriber, manipulating time with TestScheduler, and debugging RxJava code.

Chapter 11, RxJava on Android, explains step by step how to create an Android project, how to configure Retrolambda, and how to use RxJava and RxAndroid using RxBinding and other RxAndroid binding libraries.

Chapter 12, Using RxJava with Kotlin, covers several miscellaneous but essential topics, including custom operators, as well as how to use RxJava with testing frameworks, Android, and the Kotlin language.

Appendix A, Introducing Lambda Expressions, provides a short introductory course on Java lambda expressions, which does not require any prior knowledge of the topic.

Appendix B, Functional Types, lists functional interfaces that are included in RxJava 1.*, RxJava 2.*, and RxJava 3.0 – listed with their single-method signature and an indication of which RxJava version has it.

Appendix C, Mixing Object-Oriented and Reactive Programming, presents a discussion on using object-oriented programming in conjunction with RxJava.

Appendix D, Materializing and Dematerializing, introduces the concepts of materializing and dematerializing, along with code examples that demonstrate how they can be used.

Appendix E, Understanding Schedulers, defines the purpose and functionality of schedulers and demonstrates their usage.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime