Learning Reactive Programming With Java 8 (Paperback)

Nickolay Tsvetinov

  • 出版商: Packt Publishing
  • 出版日期: 2015-06-19
  • 定價: $1,470
  • 售價: 6.0$882
  • 語言: 英文
  • 頁數: 177
  • 裝訂: Paperback
  • ISBN: 1785288725
  • ISBN-13: 9781785288722
  • 相關分類: Java 程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Learn how to use RxJava and its reactive Observables to build fast, concurrent, and powerful applications through detailed examples

About This Book

  • Learn about Java 8's lambdas and what reactive programming is all about, and how these aspects are utilized by RxJava
  • Build fast and concurrent applications with ease, without the complexity of Java's concurrent API and shared states
  • Explore a wide variety of code examples to easily get used to all the features and tools provided by RxJava

Who This Book Is For

If you are a Java developer that knows how to write software and would like to learn how to apply your existing skills to reactive programming, this book is for you.

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

In Detail

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.

商品描述(中文翻譯)

學習如何使用RxJava及其反應式Observables通過詳細的示例來構建快速、並行和強大的應用程序。

關於本書:
- 了解Java 8的lambda表達式以及反應式編程的基本概念,以及RxJava如何利用這些特性。
- 輕鬆構建快速並行的應用程序,無需處理Java的並發API和共享狀態的複雜性。
- 通過各種代碼示例,輕鬆熟悉RxJava提供的所有功能和工具。

適合閱讀對象:
- 如果您是一名已經懂得如何編寫軟件的Java開發人員,並且想要學習如何將現有技能應用於反應式編程,那麼本書適合您。

您將學到什麼:
- 了解反應式編程的概念以及如何從中受益。
- 掌握Java 8的新功能特性和一些函數編程理論。
- 從幾乎任何數據源創建RxJava Observable實例。
- 使用各種RxJava運算符來轉換、過濾和累積數據。
- 使用自定義邏輯將多個數據源結合成一個數據集。
- 輕鬆編寫並行程序,在各種工作器上安排操作。
- 學習如何對異步RxJava邏輯進行單元測試。
- 通過編寫自己的運算符和工廠方法來擴展RxJava。

詳細內容:
無論您是Java專家還是初學者,本書都將使您受益,因為它將教您一種全新的編碼和思考方式。

本書首先解釋了什麼是反應式編程,為什麼它如此吸引人,以及我們如何將其整合到Java中。然後介紹了新的Java 8語法特性,如lambda表達式和函數引用,以及一些函數編程基礎知識。從這一點開始,本書深入介紹了RxJava。它介紹了創建Observables、轉換、過濾和結合它們的過程,以及並發和測試,最後介紹了擴展庫本身的方法。

本書是一本充滿了許多詳細描述的RxJava教程。它用平易近人的語言解釋了反應式編程的概念,沒有科學公式和術語。