web stats

Asynchronous programming in Java 8: how to use CompletableFuture by José Paumard

Asynchronous programming in Java 8: how to use CompletableFuture by José Paumard %title%{ Information| Details| Content}
YouTube Excerpt: Subscribe to Devoxx on YouTube @ https://bit.ly/devoxx-youtube Like Devoxx on Facebook @ https://www.facebook.com/devoxxcom Follow Devoxx on Twitter @ https://twitter.com/devoxx Java 8 saw the introduction of a new API to handle asynchronous patterns. This API is built on two elements: the CompletionStage interface and the CompletableFuture class. This presentation aims to explain how the patterns introduced by this interface and it implementing class are new to the Java platform, and how they fill the gap in the old Future patterns. The different models are precisely presented: how to create complex asynchronous processing pipelines, how to deal with exceptions, how to test such a complex code. Many examples are shown, from the classical question of remote service access to testing asynchronous REST Service. We will show the new patterns introduced to chain asynchronous operations and how to deal with special threads, especialy in GUI environments. We will also describe new ideas in CDI: asynchronous events.

Subscribe to Devoxx on YouTube @ https://bit.ly/devoxx-youtube Like Devoxx on Facebook @ https://www.facebook.com/devoxxcom Follow Devoxx on...

Read More �

Curious about Asynchronous Programming In Java 8: How To Use CompletableFuture By José Paumard? Explore detailed information, latest updates, and insights that reveal the full picture about this topic.

Source ID: HdnHmbFg_hw

Category:

View Details �

Disclaimer: %niche_term% provided here is based on publicly available data, media reports, and online sources. Actual details may vary.

Sponsored
Sponsored
Sponsored