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 Table of Contents
- 2 Course Overview
- 3 Asynchronous access to data on the web
- 4 Trigger a task on the result of another task
- 5 Divide a result into several asynchronous tasks
- 6 Control which thread executes a task
- 7 Report and recover from errors
- 8 Closing Remarks
- 9 Demo source code
- 10 Appendix: Summary of CompletableFuture Methods
More Java, Backend Architecture & Full-Stack courses
View all 30Full-stack Java Development with Spring Boot 3 and React
A job-portal app — Spring Boot 3 backend, JWT/OAuth2 auth, a React frontend and Docker CI/CD on AWS.
Full-stack Java Development with Play Framework and React
Non-blocking REST APIs and WebSockets with Play and Akka Streams, a React+Redux UI and AWS deployment.
Microservices Foundations
What microservices are, why and when to use them, communication patterns and how to adopt them.
Building a REST API with Python 3
In this course you will learn how to build a complete Python project from scratch. You will use the excellent and very popular FastAPI framework to build a REST API that serves data from...
Building an Application Using Java SE
This course teaches how to build a true end-to-end Java application, using industry standard tools, libraries, and practices. The objective is not to learn a particular framework, but to...
Collections in Java SE 21
I am Richard Warburton, Software Developer, Java Champion, author of Pluralsight books and courses in the field of software development and Java.
Interested in this course?
Contact us to book it or get a custom training plan for your team.