The Contexts and Dependency Injection (CDI) API is at the heart of the entire Jakarta EE platform. CDI provides a powerful Service Provider Interface (SPI) that allows third-party libraries to create portable extensions for the platform. In effect, CDI makes it easy for other projects to integrate into Jakarta EE.
Providing its beans, interceptors, and decorators to the container
Injecting dependencies into its objects using the dependency injection service
Providing a context implementation for a custom scope
Augmenting or overriding the annotation-based ...