Yakov Fain is a Java Champion, and the coauthor of Angular 2 Development with TypeScript as well as a number of other technical books on programming. Yakov works as a software architect at the IT consultancy Farata Systems and develops software products for the insurance industry. He has taught multiple classes and workshops on web and Java-related technologies, presented at international conferences, and published more than a thousand blog posts. Yakov lives in New York City.
This presentation is about asynchronous programming in Java, where the streams of data are handled in a non-blocking fashion. We’ll talk about Reactive Streams and specifically about the recently released RxJava2 library that may change the way you design Java applications. You’ll see how to consume streams of events and apply a variety of operators offered by this library, which requires a different way of thinking about writing code.
The Angular 2 framework includes RxJS, which is a library of reactive extensions built on the premise that everything is an observable stream. Observables allow to introduce the push model in data processing of your applications. First you’ll get familiar with the RxJS library, and then we’ll continue reviewing the use of observables in Angular 2.
In this presentation you’ll see how to treat UI events, HTTP, and WebSocket connections as observable streams that push data. You’ll see how to wrap up any service into an observable stream so your application components can subscribe to it.