CDI 2.0 New & Noteworthy
summary
CDI 2.0 splits the spec into a core / Java SE / Java EE model, baselines on Java 8, and ships a Weld 3 CR available for WildFly and standalone testing. Key concrete features: programmatic event builders replacing fireEvent, fireAsync with CompletionStage and configurable executor options, asynchronous observers that do not propagate request contexts, bean configurators to add beans without implementing Bean, Instance.stream/Resolvable, repeating qualifiers, and the portable extension lifecycle events (ProcessAnnotatedType, AfterDeploymentValidation) for runtime manipulation.
AI-written summary · about
chapters (6)
- 0:00Start
- 6:57Event Ordering
- 8:11Programmatic Events
- 30:16Alternatives
- 33:34Bean Discovery
- 41:33ProcessAnnotated Type








