Session

Asynchronous Java Without Tying Yourself in Threads

This session will explore the Java CompletableFuture class within the Java Concurrency API introduced in Java 8 and how the CompletableFuture class allows developers the freedom of creating asynchonous code without having to resort to a complicated and advanced approach of directly implementing threads.

Starting with a brief discussion of Java's Future and CompletionStage interfaces which are used by the CompletableFuture class, introduce the concept of asynchronous computation. This will also compare how Java now has a concrete implementation similar to other platform's implementations (Promises in JavaScript and Async/Await in C#, Python, and also in JS, etc...).

This session will assume some basic understanding of Lambdas, Functional Interfaces, and Functional Programming in Java, as the CompletableFuture API leverages these concepts.

We will also discuss some use cases for when to use the CompletableFuture class and show some basic live code examples.

Jim McLaughlin

Lead Technical Architect @ YRC Worldwide

Kansas City, Missouri, United States

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top