« All Java trainings

Java Training: Virtual Threads & Structured Concurrency

Duration: 1 day
Format: virtual or on-site

Overview

Virtual Threads, Structured Concurrency, and Scoped Values – with Project Loom, a new threading model is entering the Java world that makes concurrency simpler, clearer, and more scalable.

In this one-day training, you’ll learn how to build robust and high-performance applications with Project Loom – without having to wrestle with complex reactive frameworks or deeply nested callbacks. Instead of hard-to-read code, you'll write clear, linear flows – with excellent scalability.

We start with the fundamentals: Why was Project Loom even necessary? What do Virtual Threads really offer – and where are their limits? You’ll learn how they work, what to watch out for, and how to integrate them effectively in Spring and Jakarta EE applications.

Next, you’ll dive into Structured Concurrency – an API-based model that makes parallel tasks more structured, fault-tolerant, and maintainable. You’ll understand how task scopes work, how to handle cancellation, errors, and join strategies – and how to encapsulate concurrent processes in a clean, reusable way.

The course wraps up with Scoped Values – a modern, thread-safe alternative to ThreadLocal, designed to fit seamlessly into the new threading model.

As always, the course is highly hands-on: You'll work with plenty of code examples and exercises that help you apply what you learn directly in your own projects.

Request in-house training »

Target Audience

This course is aimed at Java developers who want to implement modern concurrency in their applications in a maintainable and efficient way – without diving into the complexity of reactive frameworks.

Perfect for teams developing high-performance server applications – and looking to replace traditional threading models with simpler, scalable, and more maintainable alternatives – with immediate benefits for code readability, scalability, and debugging.

Course Details

Duration: 1 day
Date by arrangement
Exclusively for your team
Delivered on-site or online
Customizable content
Language: English or German
Certificate of completion included

Pricing

On-site:  € 2.490,–
plus trainer travel expenses
Virtual:  € 2.050,–
Prices exclude VAT and any customization fees.

Agenda

We’ll cover the topics with a practical focus and a balanced mix of theory and hands-on exercises – so you can immediately understand and apply the concepts to your own applications.

Introduction to Project Loom:

  • Motivation and goals of Project Loom
  • Limitations of the traditional thread model
  • Downsides of existing solutions like CompletableFuture or reactive frameworks

Virtual Threads:

  • What are virtual threads?
  • Differences from platform threads
  • Scalability and resource usage
  • Limitations
  • Best practices, tools (e.g., thread dumps), and useful use cases
  • Practical examples with Spring and Jakarta EE

Structured Concurrency:

  • From unstructured to structured concurrency
  • Implementing structured concurrency with StructuredTaskScope
  • Error handling, join strategies, cancellation
  • Nesting and reusability

Scoped Values:

  • Passing contextual data in a safe and thread-safe way
  • How scoped values differ from ThreadLocal
  • Integration with StructuredTaskScope

Conclusion & Outlook:

  • When and how to make the most of Loom in your projects
  • Future developments in the field of concurrency

Request In-House Training

Inquiry Training Specific Course (#31)

Your Trainer: Sven Woltmann

Sven Woltmann

I’m a Java expert with over 20 years of experience – as a developer, architect, CTO, performance coach, and trainer.

I’ve designed enterprise-scale systems for companies like 1&1, IONOS, and ICE Services, modernized legacy apps, and helped teams build robust, maintainable, and high-performance Java software.

With HappyCoders.eu, I’ve built one of the most widely read Java blogs in the German-speaking world. I speak at conferences and Java User Groups – and often receive praise for making complex technical topics easy to understand.

What you’ll get from my courses:

  • Extensive experience: Deep Java knowledge with real-world expertise
  • Practical focus: Plenty of hands-on exercises drawn from actual project work
  • Knowledge sharing: Space for your questions, discussions, and real-life challenges
  • Tailored to your team: Content can be flexibly adapted to your goals

I don’t just teach features – I show you how to develop better software with a deep understanding of Java.

More about me »

Format & Requirements

Related Trainings