برنامهنویسی واکنشی جاوا
Reactive Java Programming
معرفی کتاب «برنامهنویسی واکنشی جاوا» (با عنوان لاتین Reactive Java Programming) نوشتهٔ Maglie, Andrea، منتشرشده توسط نشر APress : Imprint Apress در سال 2016. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.
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. Contents at a Glance......Page 5 Contents......Page 6 About the Author......Page 10 About the Technical Reviewer......Page 11 Acknowledgments......Page 12 Introduction......Page 13 Imperative and Functional Programming......Page 14 Lambda Expressions......Page 16 Reactive Programming......Page 17 The Observer Pattern......Page 18 What’s ReactiveX?......Page 19 What’s RxJava?......Page 20 Adding RxJava to Your Project......Page 23 Definition of Observer......Page 24 onNext, onCompleted, onError......Page 25 Hot and Cold Observables......Page 27 Observable.just()......Page 28 Observable.interval()......Page 29 Observable.create()......Page 30 Observable.never()......Page 31 Observable.defer()......Page 32 map......Page 34 flatMap......Page 36 concatMap......Page 37 zip......Page 38 concat......Page 39 filter......Page 41 first......Page 42 last......Page 43 take......Page 45 startWith......Page 46 scan......Page 47 Operators for Filtering Observables......Page 48 Operators for Combining Observables......Page 49 Error Handling......Page 52 Handling Errors in the onError() Method......Page 53 Ignoring the Exception and Continuing with Item Emission......Page 54 Retry......Page 57 Schedulers......Page 60 Transformers......Page 64 Advanced Use of Schedulers......Page 65 sample......Page 66 debounce......Page 67 Window......Page 68 Handling Backpressure Inside the Subscriber......Page 70 Chapter 4: Subjects......Page 71 PublishSubject......Page 73 BehaviorSubject......Page 76 ReplaySubject......Page 79 AsyncSubject......Page 80 When Should You Use Subjects?......Page 82 Connectable Observables......Page 86 Chapter 5: Networking with RxJava and Retrofit......Page 88 Creating a Retrofit Service......Page 89 Filter Results......Page 94 Choosing the Right Scheduler......Page 96 Chaining Multiple Network Calls......Page 97 Caching Data......Page 99 RxAndroid......Page 103 RxBindings......Page 105 Activity and Fragment Life Cycle......Page 109 Index......Page 114 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. In this book you'll learn how to: 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 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__**What You'll Learn**Use and map observablesFilter and combine eventsEmploy subjects, schedulers, and backpressureHandle reactive patternsTest your RxJava codeWrite your own operatorsCarry 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.
دانلود کتاب برنامهنویسی واکنشی جاوا