Nyd den ubegrænsede adgang til tusindvis af spændende e- og lydbøger - helt gratis
Fakta
This book will teach you how to build robust asynchronous and event-driven applications with ease.
About This Book
• Learn about Java 9's Flow API, Reactive programming along with Kafka and Mockito, 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, with the help of Spring
• 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
This book targets existing Java developers who want to understand Reactive programming and build responsive and resilient asynchronous applications using Reactive stream implementations.
What You Will Learn • Understand the Reactive Manifesto
• Grasp the Reactive Streams types introduced in Java 9 in the form of the Flow API
• Use RxJava, a Reactive Streams implementation, to build asynchronous applications
• Build responsiveness and resilience into applications using RxJava operators
• Demonstrate the usage of Hystrix, a latency and fault tolerance library from Netfl ix that uses RxJava
• Implement Reactive web applications using Spring Framework 5 and RxJava
In Detail
Reactive programming is an asynchronous programming model that helps you tackle the essential complexity that comes with writing such applications.
Using Reactive programming to start building applications is not immediately intuitive to a developer who has been writing programs in the imperative paradigm. To tackle the essential complexity, Reactive programming uses declarative and functional paradigms to build programs. This book sets out to make the paradigm shift easy.
This book begins by explaining what Reactive programming is, the Reactive manifesto, and the Reactive Streams specifi cation. It uses Java 9 to introduce the declarative and functional paradigm, which is necessary to write programs in the Reactive style. It explains Java 9's Flow API, an adoption of the Reactive Streams specifi cation. From this point on, it focuses on RxJava 2.0, covering topics such as creating, transforming, fi ltering, combining, and testing Observables. It discusses how to use Java's popular framework, Spring, to build event-driven, Reactive applications. You will also learn how to implement resiliency patterns using Hystrix. By the end, you will be fully equipped with the tools and techniques needed to implement robust, event-driven, Reactive applications.
Style and approach
This book is a tutorial about Reactive programming in Java using APIs as well as the RxJava library. Packed with a lot of well-described examples, it explains Reactive programming concepts in plain and readable language.
© 2017 Packt Publishing (E-bog): 9781787123434
Release date
E-bog: 21. september 2017
Tags
Over 600.000 titler
Download og nyd titler offline
Eksklusive titler + Mofibo Originals
Børnevenligt miljø (Kids Mode)
Det er nemt at opsige når som helst
For dig som vil prøve Mofibo.
1 konto
20 timer/måned
Eksklusivt indhold hver uge
Fri lytning til podcasts
Gem ubrugt tid
Ingen binding
For dig som lytter og læser ofte.
1 konto
100 timer/måned
Eksklusivt indhold hver uge
Fri lytning til podcasts
Ingen binding
For dig som lytter og læser ubegrænset.
1 konto
Ubegrænset adgang
Eksklusivt indhold hver uge
Fri lytning til podcasts
Ingen binding
For dig som ønsker at dele historier med familien.
2-6 konti
100 timer/måned pr. konto
Fri lytning til podcasts
Kun 39 kr. pr. ekstra konto
Ingen binding
2 konti
179 kr. /månedDansk
Danmark