© Luqman Saeed 2020
L. SaeedIntroducing Jakarta EE CDIhttps://doi.org/10.1007/978-1-4842-5642-8_10

10. The CDI Ecosystem

Luqman Saeed1 
(1)
Accra, Ghana
 

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.

A portable extension may integrate into the platform by
  • 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 ...

Get Introducing Jakarta EE CDI: Contexts and Dependency Injection for Enterprise Java Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.