Intermediate

Asynchronous Programming in Java

By the end of this course, you will be fully equipped to understand the structure of the CompletableFuture API and navigate its many methods.

This course focuses on understanding how to write asynchronous code with the API provided by the JDK. Asynchronous programming is a very popular topic, and there are many tools, APIs and frameworks outside of the JDK for creating asynchronous applications. This course covers the CompletionStage and CompletableFuture APIs, which are part of the JDK.

If you understand the asynchronous principles covered here, you will find it easier to use any other API because they are all based on the same ideas and principles.

Sign in to read this course

A free account unlocks all 514 courses. 20 are readable without one.

What's inside

10 sections
  1. 1 Table of Contents
  2. 2 Course Overview
  3. 3 Asynchronous access to data on the web
  4. 4 Trigger a task on the result of another task
  5. 5 Divide a result into several asynchronous tasks
  6. 6 Control which thread executes a task
  7. 7 Report and recover from errors
  8. 8 Closing Remarks
  9. 9 Demo source code
  10. 10 Appendix: Summary of CompletableFuture Methods

Interested in this course?

Contact us to book it or get a custom training plan for your team.