Learning reactive programming with Java 8 : learn how to use RxJava and its reactive observables to build fast, concurrent, and powerful applications through detailed examples /: learn how to use RxJava and its reactive observables to build fast, concurrent, and powerful applications through detailed examples. (2015)
- Record Type:
- Book
- Title:
- Learning reactive programming with Java 8 : learn how to use RxJava and its reactive observables to build fast, concurrent, and powerful applications through detailed examples /: learn how to use RxJava and its reactive observables to build fast, concurrent, and powerful applications through detailed examples. (2015)
- Main Title:
- Learning reactive programming with Java 8 : learn how to use RxJava and its reactive observables to build fast, concurrent, and powerful applications through detailed examples
- Other Titles:
- Learning reactive programming with Java eight
Learn how to use RxJava and its reactive observables to build fast, concurrent, and powerful applications through detailed examples - Further Information:
- Note: Nickolay Tsvetinov.
- Authors:
- Tsvetinov, Nickolay
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: An Introduction to Reactive Programming; What is reactive programming?; Why should we be reactive?; Introducing RxJava; Downloading and setting up RxJava; Comparing the iterator pattern and the RxJava Observable; Implementing the reactive sum; Summary; Chapter 2: Using the Functional Constructions of Java 8; Lambdas in Java 8; Introducing the new syntax and semantics; Functional interfaces in Java 8 and RxJava; Implementing the reactive sum example with lambdas Pure functions and higher order functionsPure functions; Higher order functions; RxJava and functional programming; Summary; Chapter 3: Creating and Connecting Observables, Observers, and Subjects; The Observable.from method; The Observable.just method; Other Observable factory methods; The Observable.create method; Subscribing and unsubscribing; Hot and cold Observable instances; The ConnectableObservable class; The Subject instances; Summary; Chapter 4: Transforming, Filtering, and Accumulating Your Data; Observable transformations; Transformations with the various flatMap operators Grouping itemsAdditional useful transformation operators; Filtering data; Accumulating data; Summary; Chapter 5: Combinators, Conditionals, and Error Handling; Combining the Observable instances; The zip operator; The combineLatest operator; The merge operator; The concat operator; The conditional operators; The ambCover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: An Introduction to Reactive Programming; What is reactive programming?; Why should we be reactive?; Introducing RxJava; Downloading and setting up RxJava; Comparing the iterator pattern and the RxJava Observable; Implementing the reactive sum; Summary; Chapter 2: Using the Functional Constructions of Java 8; Lambdas in Java 8; Introducing the new syntax and semantics; Functional interfaces in Java 8 and RxJava; Implementing the reactive sum example with lambdas Pure functions and higher order functionsPure functions; Higher order functions; RxJava and functional programming; Summary; Chapter 3: Creating and Connecting Observables, Observers, and Subjects; The Observable.from method; The Observable.just method; Other Observable factory methods; The Observable.create method; Subscribing and unsubscribing; Hot and cold Observable instances; The ConnectableObservable class; The Subject instances; Summary; Chapter 4: Transforming, Filtering, and Accumulating Your Data; Observable transformations; Transformations with the various flatMap operators Grouping itemsAdditional useful transformation operators; Filtering data; Accumulating data; Summary; Chapter 5: Combinators, Conditionals, and Error Handling; Combining the Observable instances; The zip operator; The combineLatest operator; The merge operator; The concat operator; The conditional operators; The amb operator; The takeUntil(), takeWhile(), skipUntil(), and skipWhile() conditional operators; The defaultIfEmpty( ) operator; Handling errors; The return and resume operators; The retrying technique; An HTTP client example; Summary Chapter 6: Using Concurrency and Parallelism with SchedulersRxJava's schedulers; Debugging Observables and their schedulers; The interval Observable and its default scheduler; Types of schedulers; The Schedulers.immediate scheduler; The Schedulers.trampoline scheduler; The Schedulers.newThread scheduler; The Schedulers.computation scheduler; The Schedulers.io scheduler; The Schedulers.from(Executor) method; Combining Observables and schedulers; The Observable subscribeOn(Scheduler) method; The Observable observeOn(Scheduler) operator; Parallelism; Buffering, throttling, and debouncing ThrottlingDebouncing; The buffer and window operators; The backpressure operators; Summary; Chapter 7: Testing Your RxJava Application; Testing using simple subscription; The BlockingObservable class; The aggregate operators and the BlockingObservable class; Testing with the aggregate operators and the BlockingObservable class; Using the TestSubscriber class for in-depth testing; Testing asynchronous Observable instances with the help of the TestScheduler class; Summary; Chapter 8: Resource Management and Extending RxJava; Resource management; Introducing the Observable.using method … (more)
- Publisher Details:
- Birmingham, UK : Packt Publishing
- Publication Date:
- 2015
- Extent:
- 1 online resource (1 volume), illustrations
- Subjects:
- 005.13
Java (Computer program language)
Application software -- Development
COMPUTERS -- Programming Languages -- Java
Application software -- Development
Java (Computer program language)
Electronic books - Languages:
- English
- ISBNs:
- 9781785282508
1785282506 - Related ISBNs:
- 1785288725
9781785288722 - Notes:
- Note: Online resource; title from cover (Safari, viewed July 6, 2015).
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.679829
- Ingest File:
- 11_011.xml