Free courses from frontend to fullstack and AI
Build GenAI Apps from Scratch — UCSB PaCE Certificate Program
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
This conference talk explores how to maximize the potential of virtual threads in Java 21 by properly implementing two preview features: StructuredTaskScope and ScopedValue. Through a live coding demonstration, learn how to build a concurrent web application from scratch by combining these powerful tools. Discover why ScopedValues should be preferred over ThreadLocals when possible, and how to create custom StructuredTaskScopes tailored to specific requirements. Gain a comprehensive understanding of these features and their practical application in real-world scenarios during this 44-minute Devoxx presentation by Christian Wörz.
Syllabus
StructuredTaskScope And ScopedValue - Get The Most Out of Virtual Threads - Christian Wörz
Taught by
Devoxx