相關主題
商品描述
Learn reactive programming using Java and its functional aspects, sometimes called RxJava. This book shows you how to solve "callback hell" with RxJava and shows you how to write thread-safe code without hanging onto state variables which comes in handy for cloud computing software-as-a-service issues, especially when dealing with big data processes through streaming.
Reactive Java Programming includes unique coverage of reactive Android programming, growing more and more popular in mobile development with the Cloud. After reading this guide to reactive programming, you'll be able to apply it to your own big data cloud applications that use Java.
What You'll Learn
- Use and map observables
- Filter and combine events
- Employ subjects, schedulers, and backpressure
- Handle reactive patterns
- Test your RxJava code
- Write your own operators
- Carry out reactive Android programming
Who This Book Is For
Experienced Java programmers new to reactive programming and those who may have some experience with reactive programming new to Java.
商品描述(中文翻譯)
學習使用 Java 及其函數式特性進行反應式編程,有時稱為 RxJava。本書展示了如何使用 RxJava 解決「回調地獄」的問題,並教你如何編寫線程安全的代碼,而不必依賴狀態變量,這在雲計算的軟體即服務問題中非常有用,特別是在處理通過流式處理的大數據過程時。
《反應式 Java 編程》獨特地涵蓋了反應式 Android 編程,這在與雲端的移動開發中越來越受歡迎。在閱讀這本反應式編程指南後,你將能夠將其應用於自己的使用 Java 的大數據雲應用程序。
你將學到的內容:
- 使用和映射可觀察對象
- 過濾和組合事件
- 使用主題、調度器和背壓
- 處理反應式模式
- 測試你的 RxJava 代碼
- 編寫自己的運算子
- 執行反應式 Android 編程
本書適合對象:
有經驗的 Java 程式設計師,對反應式編程感到陌生,以及那些對反應式編程有一定經驗但對 Java 不熟悉的人。