airhacks.fm podcast with adam bien

Just Another CDI Committer

Jan 19, 2025
Ladislav Thon, a CDI committer and contributor to Quarkus, dives into the evolution of Context and Dependency Injection in Java. He discusses the shift from XML to annotation-based dependency management and the significance of CDI Lite in version 4.0. Thon highlights differences between portable and build-compatible extensions, as well as performance implications of using CDI in Quarkus. He also touches on new features like lifecycle events and priority support, and the challenges of migrating extensions, providing a glimpse into the future of CDI.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

The Cookie Conversation

  • Adam Bien forgot to record the initial podcast segment about cookies.
  • The discussion centered around Živovské hady, a South Bohemian Christmas cookie.
INSIGHT

CDI History

  • CDI evolved from the factory pattern and the Hollywood principle.
  • Early CDI implementations used XML, later replaced by annotations like @Inject.
INSIGHT

Spring's Influence

  • Java EE 6's adoption of @Inject from Spring/JSR 330 caused delays.
  • This adoption standardized dependency injection but was initially outside the Java EE spec.
Get the Snipd Podcast app to discover more snips from this episode
Get the app