Zum Hauptinhalt springen
Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Java Structured Concurrency - Anghel Leonard

Java Structured Concurrency

Solve 150+ challenging real-world concurrency problems with practical, problem-driven exercises

(Autor)

Buch | Softcover
2026
Packt Publishing Limited (Verlag)
978-1-80610-503-8 (ISBN)
CHF 52,35 inkl. MwSt
  • Titel nicht im Sortiment
  • Artikel merken
Master Java's most significant concurrency upgrade with hands-on problems that build skill and confidence

Key Features

Solve 150+ problems that deepen your understanding of Project Loom
Explore structured concurrency, scoped values, and virtual threads in depth
Build modern, high-performance Java applications using practical design patterns

Book DescriptionTackling concurrency in Java has historically been complex, inefficient, and difficult to reason about—until now. This book guides you through Java’s modern concurrency revolution introduced by Project Loom. Through over 150 real-world problems, you'll build deep expertise in virtual threads, structured concurrency, and scoped values, equipping you to write performant, maintainable, and scalable concurrent applications.
Using a problem-solution approach, this book encourages active learning as you develop, test, and refine your solutions while gaining insight into the trade-offs behind different concurrency decisions. You’ll move from foundational concepts and API mechanics to internal workings, advanced design patterns, and complete case studies, making this the ideal reference to keep on your desk. Written by Anghel Leonard, a Java expert and prolific technical author, this book distills years of research and real-world experience into a comprehensive and approachable guide for modern Java concurrency.

By the end of this book, you’ll master modern Java concurrency by solving real-world problems and applying proven multithreading design patterns effectively.What you will learn

Understand the goals and inner workings of Project Loom
Work confidently with virtual threads and structured concurrency
Apply scoped values to manage thread-local state safely
Combine virtual threads with existing Java APIs and Executors
Monitor and trace concurrency behavior for observability
Refactor legacy concurrent code using modern techniques
Solve concurrency design challenges with practical patterns
Implement robust real-world solutions for high-throughput systems

Who this book is forJava developers who want to master Project Loom and write modern concurrent applications. This book also supports those preparing for Java job interviews or upgrading legacy systems. Prior experience with Java multithreading is recommended.

Anghel Leonard is a Chief Technology Strategist and independent consultant with over 20 years of experience in the Java ecosystem. He architects and develops distributed applications that emphasize clean code, robust performance, and scalable architectures. A prolific author and respected technical mentor, Anghel brings deep expertise and clarity to one of Java's most important and complex topics.

Table of Contents

Hooking platform threads pitfalls
Introducing Virtual Threads
Combining Virtual Threads and Executors
Examining how Virtual Threads work internally
Tackling unstructured concurrency
Hooking Structured Task Scope
ThreadLocal vs ScopedValues
Structured Concurrency and Executors
Observability
Futures and Promises
Executors, Semaphores, Locks, Barriers, Atomics
Producer/Consumer, Thread Pools, Fork/Join, Objects
Completable Futures, Reactive Streams

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 191 x 235 mm
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
ISBN-10 1-80610-503-9 / 1806105039
ISBN-13 978-1-80610-503-8 / 9781806105038
Zustand Neuware
Informationen gemäß Produktsicherheitsverordnung (GPSR)
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich