What's New in CDI 4.0?
summary
CDI 4.0 introduces two variants: a full CDI and a lighter “CDI Lite” bundled with Jakarta EE 10 and MicroProfile 6. It adds a build-time extension API so frameworks can generate dependency wiring statically, switches default bean discovery to annotated mode to avoid classpath-wide scanning, makes extensions build-time compatible (able to add/remove annotations and register custom create/dispose logic), and defines a new Core Profile while still keeping portable extensions separate from build-time ones.
AI-written summary · about
chapters (8)
- 0:00Start
- 11:46Removing deprecated parts
- 13:02Change Bean Discovery Mode
- 24:07Build time compatible extension
- 29:43Build compatible vs portable extensions 2/2
- 33:55Build compatible extension example (enhancement)
- 35:21Equivalent in Portable extension
- 35:56Build compatible extension example (synthesis) 2/2
related talks
04mDiscusses CDI 2.0
47mCDI 2.0 New & Noteworthy
25mMaking the most of Java SE with CDI 2.0
48mJakarta EE 10 Feature by Feature
50mJakarta EE 10: Modern & Lightweight Cloud Application Development
51mJakarta EE 10 and Beyond
40mJakarta EE 10 - Simplicity for Modern and Lighweight Cloud Applications
55mModern and Lightweight Cloud Application Development with Jakarta EE10
