YoVDO

Java Asynchronous Programming with Loom and Structured Concurrency - Tutorial

Offered By: Java via YouTube

Tags

Java Courses Unit Testing Courses Asynchronous Programming Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore asynchronous programming in Java with this comprehensive tutorial video focusing on Loom and Structured Concurrency. Dive into virtual threads, learn to write and migrate asynchronous code, and master Loom Scopes. Follow live demonstrations on implementing StructuredTaskScope, ShutdownOnSuccess, and custom scopes. Discover techniques for exception handling, unit testing, and working with different object types. Gain insights on adding timeouts to scopes and utilizing ExtentLocal. Perfect for developers looking to enhance their Java concurrent programming skills with the latest features available in JDK 19.

Syllabus

Intro
Two things about Virtual Threads
Writing asynchronous code
Moving asynchronous code to Virtual Threads
Introducing Loom Scopes
Live demo: a first StructuredTaskScope
Differences between Scopes and Executors
Introducing the ShutdownOnSuccess Scope
Live demo: using ShutdownOnSuccess
Exception handling
Creating a custom Scope in action
Tips to write unit tests
Live demo: handling different object types
Live demo: adding a timeout on your Scope
Using ExtentLocal instead of ThreadLocal
Live demo: using ExtentLocal in a single thread
Live demo: using ExtentLocal with scopes
Scope wrap up
Final words and outro


Taught by

Java

Related Courses

Algorithms, Part I
Princeton University via Coursera
Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
MongoDB for Java Developers
MongoDB University
Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera
Intro to Java Programming
San Jose State University via Udacity