What's New in Java Concurrency 3.1
summary
Jakarta Concurrency 3.1 runs on Java 17 and Java 21 and adds concrete features: CDI @Inject now supplies ManagedExecutorService, ManagedScheduledExecutorService and ContextService; a new @Schedule annotation repeats async methods on a cron; ContextService gains contextualSubscriber and contextualProcessor to attach application context to Reactive Streams publishers; Virtual Threads are enabled via virtual = true (requires Java 21 plus a runtime that provides them) and a demo runs 100,000 VirtualThreads in 1.88s while platform threads run out of memory; sample app on GitHub.
AI-written summary · about
related talks
37mConcurrency Redefined
38mIntroduction and pitfalls of Java's new concurrency model
01h 05mTo #Java 24 and Beyond
50mBoost Your Performance and Developer Productivity with Jakarta EE 11
51mIntroduction and Pitfalls of Java's New Concurrency Model
44mThe Past, Present, and Future of Enterprise Java
02h 34mJava™ 19 & 20. What's new and noteworthy?
47mA Deeper Dive into Java Concurrency Updates
