airhacks.fm podcast with adam bien

Injection Without Reflection

4 snips
Jun 7, 2025
In this conversation, David Kral, a software engineer and Helidon contributor, dives into the innovative features of Helidon SE. He discusses build-time dependency injection, eliminating reflection for enhanced performance. Kral explains the use of code generation for better debugging and ownership, plus the perks of using standard JSR-330 annotations for portability. He also covers compatibility with GraalVM, the value of a customizable service registry, and the exciting future of Helidon Declarative, set for a full release.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Helidon Declarative's Key Innovation

  • Helidon Declarative enhances Helidon SE with build-time dependency injection without reflection.
  • It generates concrete Java sources, improving performance and debugging over runtime reflection.
INSIGHT

Source Code Generation Advantage

  • Helidon generates Java source files, not bytecode like Lombok, allowing easy inspection and modification.
  • This real source code aids debugging and transparency in Helidon Declarative.
ADVICE

Use Maven Plugin for Zero Reflection

  • Use Maven annotation processors or Helidon plugin to generate sources placed in the standard generated-sources directory.
  • Always use the plugin to achieve zero reflection during runtime service loading.
Get the Snipd Podcast app to discover more snips from this episode
Get the app