Asynchronous Programming in Java

Java SE 17 comes with its own asynchronous programming model. This course shows you how you can leverage this API to setup asynchronous systems, triggering tasks on the completion of other tasks, and how you report errors or recover from them.

Intermediate FriendlySelf-Paced Learning
     
  • 4
  •  | 
  • Reviews ( 41 )
Subscription (Free Trial Available)
✓ Compare courses before making a decision
Check Latest Price →
Price may vary. Check latest price on provider site.
🧠 Good for intermediate learners
⚠ May feel basic for advanced users

Learning Journey Context

Works well as a continuation after mastering Software Development fundamentals. It bridges the gap toward advanced, production-level engineering.

Career Relevance

Relevant for: Backend Developer, Software Engineer, API Developer.

Quick Facts

1 hour 58 minutes
pluralsight
Intermediate
Self-Paced Online
Core Courses
pluralsight
English
Below sections are verified from last major sync. For real-time updates and today's latest lectures, Check official page here.

What You’ll Learn

Asynchronous programming is the universal pattern to create efficient, safe, and high-throughput applications. Starting with Java SE 8, Java has its own API: CompletionStage, to create asynchronous data processing pipelines. In this course, Asynchronous Programming in Java you will lean how to create asynchronous tasks based on the three models this API provides: Runnable, Consumers, and Functions. First, you will see how you can chain these tasks to trigger them on the outcome of other tasks. Then, you will explore what are the threads that are executing your tasks in the default configuration of the API, and how you can control them to balance your application, giving the right number of threads to the right number of tasks. Next, you will discover how you can have certain tasks to run in specific thread, for instance in the case that you need to update a graphical component, the API provides several mechanisms to deal with exceptions. Finally, you will learn how does the API processes exceptions, how you can log them and how you can recover from them if your application permits it. When you are finished with this course, you will be able to write your own asynchronous data processing pipelines, and will have hints on how you can set them up to get better performance.

See how this course curriculum compares with alternatives

Outcomes

  • Course Overview : 1min.
  • Accessing Data Asynchronously on the Web : 28mins.
  • Triggering a Task on the Outcome of Another Task : 17mins.
  • Splitting a Result into Several Asynchronous Tasks : 29mins.
  • Controlling What Thread Can Execute a Task : 13mins.
  • Reporting and Recovering from Errors : 14mins.
  • Closing Remarks : 14mins.
See side-by-side differences in learning outcomes

FAQs

Top Alternatives

Highly-rated courses worth your attention

Java 8 Fundamentals: Asynchronous Programming Using CompletionStage
4.0· 3 Hrs 4 minutes
Intermediate
Free
Asynchronous Programming in C#
5.0· 5 Hrs 1 minutes
Intermediate
Free
Asynchronous Programming in JavaScript
5.0· 1 Hrs 17 minutes
Intermediate
Free
Using the Java NIO API
4.0· 54 minutes
Intermediate
Free
Taming Asynchronous .NET Code with Rx 3
4.0· 1 - Hrs 27 minutes
Intermediate
Free
Understanding the MapReduce Programming Model
5.0· 1 - Hrs 49 minutes
Beginner
Free
Asynchronous Programming in Java
4(41+ learners)
✓ Compare side-by-side before spending money
Check Latest Price →
Price may vary. Check latest price on provider site.
🧠 Good for intermediate learners
⚠ May feel basic for advanced users