Udemy

Java 25: Virtual Threads, Concurrency Masterclass [Hands-On]

Enroll Now
  • 6,050 Students
  • Updated 2/2026
4.7
(610 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
10 Hour(s) 52 Minute(s)
Language
English
Taught by
Vinoth Selvaraj
Rating
4.7
(610 Ratings)
1 views

Course Overview

Java 25: Virtual Threads, Concurrency Masterclass [Hands-On]

Multithreading, Structured Concurrency, Executorservice, ScopedValues, CompletableFuture, Scalability with Spring Boot

Up-to-date with JDK/Java 25: This course covers all the latest Java 25 features, including finalized Scoped Values, the latest preview of Structured Concurrency (JEP 505), and the foundational power of Virtual Threads.

Master modern, high-performance Java concurrency and build applications that scale effortlessly. This course takes you from foundational Multithreading concepts to the cutting edge of Virtual Threads, Structured Concurrency, and Scoped Values, all reinforced with hands-on Spring Boot projects.
Course Highlights:

  • Understanding Concurrency: Start with the basics. Understand platform threads, their lifecycle, and the challenges of traditional concurrency. Learn why scaling with conventional threads is difficult and how Java Virtual Threads provide a lightweight, high-performance alternative for handling thousands of concurrent tasks efficiently.

  • ExecutorService Mastery: Dive into ExecutorService and see how it works with both platform threads and virtual threads. Learn to manage concurrency, execute tasks in parallel, and optimize thread usage for scalable applications.

  • CompletableFuture Integration: Explore CompletableFuture for asynchronous task execution with Virtual Threads. Learn practical patterns for chaining tasks, handling exceptions, and managing timeouts in a clean, declarative way.

  • ThreadLocal and Scoped Values: Understand ThreadLocal for storing thread-specific context and the challenges it poses. Then explore Scoped Values, the modern alternative that works seamlessly with both platform and virtual threads, avoids memory leaks, and simplifies context propagation.

  • Structured Concurrency: Get a hands-on introduction to Java’s Structured Concurrency APIs, learning how to manage groups of tasks as a single unit, improve reliability, and simplify lifecycle management of concurrent tasks.

  • Hands-On Application Development: Apply your knowledge in a Spring Boot Web project using Virtual Threads. Learn how these concurrency concepts integrate into real-world application development.

  • Performance Testing with JMeter: Test the scalability of your application using JMeter, measuring throughput and response times to ensure optimal efficiency under various workloads.

  • Migration Made Easy: Conclude the course with a practical migration guide to transition your existing applications to Java Virtual Threads effortlessly. Get ready for a future where your programs effortlessly combine concurrency and scalability.

Don't just learn concurrency. Master the future of high-performance Java. Unlock the full potential of Virtual Threads, Structured Concurrency, and Scoped Values to design the most scalable, efficient, and modern applications on the platform.

Course Content

  • 10 section(s)
  • 122 lecture(s)
  • Section 1 Getting Started
  • Section 2 Virtual Thread Fundamentals
  • Section 3 Executors and Virtual Threads
  • Section 4 Asynchronous Programming with CompletableFuture
  • Section 5 Thread Local & Scoped Values
  • Section 6 Java Concurrency Interview Prep
  • Section 7 Structured Concurrency (JEP 505)
  • Section 8 Final Project: Virtual Threads in Real-World Applications
  • Section 9 Performance Testing With JMeter
  • Section 10 Whats next?

What You’ll Learn

  • Master Virtual Threads (Project Loom): Learn how to effectively use Virtual Threads to improve the performance and scalability of your Java applications., Structured Concurrency (JEP 505): Implement Structured Concurrency for predictable task cancellation, simple error handling, and clear task scopes., Scoped Values vs. ThreadLocal: Learn Scoped Values (JEP 506) to safely share immutable context across threads, replacing the old ThreadLocal pattern, Advanced Async CompletableFuture: Compose complex flows with CompletableFuture while guaranteeing robust error recovery in Virtual Thread apps, JDK 25 Feature Adoption: Get practical guidance on adopting Java 25's finalized APIs, focusing on Scoped Values and Structured Concurrency patterns. (, JMeter Performance Testing: Validate gains with rigorous load testing and scalability testing of your high-concurrency Java apps., Seamless Migration Guide: Learn step-by-step strategies to migrate existing synchronous or blocking codebases to efficient Virtual Threads., Hands-On Project with Spring Boot: Build a complete, high-throughput Spring Boot Web application applying Virtual Threads


Reviews

  • E
    Emiliano Andres Castells Pons
    4.5

    Very useful with a lot of examples and explanations

  • R
    Rui Miguel Fernandes António
    4.5

    The topic of virtual threads is presented in a clear and accessible manner, addressing the key aspects that should be taken into consideration. It was possible to gain a solid understanding of what virtual threads are, the scenarios in which they are most suitable, and those in which their use is not recommended. The final component, involving the execution of JMeter tests, was a good way to demonstrate the advantages of virtual threads in IO/blocking scenarios, and I also got to know new tools for performance testing. Thank you, and please continue to offer high-quality courses like this one.

  • I
    Inbal Zipris
    5.0

    This course provides excellent, simplified explanations that make complex topics like Project Loom and Structured Concurrency easy to follow. To solidify the learned material, adding dedicated, hands-on coding exercises for each section is recommended

  • D
    Dinesh Gupta
    4.0

    The course exceeded my expectations and delivered exactly what I was looking for. I’m especially impressed by the delivery; the content is consistently interactive and engaging.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed