CDI Lite
The Jakarta EE Core Profile contains a subset of the full CDI specification, named, appropriately enough, CDI Lite. Most of the changes of CDI Lite are at the implementation level; namely, some functionality that the full CDI implementation performs at runtime is moved to build time, allowing applications utilizing CDI Lite to initialize faster.
CDI Lite is primarily meant to be used in microservices applications, implementing functionality as RESTful web services. Since REST applications are typically stateless, not all CDI scopes are applicable when working on this type of application. For this reason, the session and conversation scopes are not available when using CDI Lite. This is the primary limitation of CDI Lite when compared to the full CDI specification.
We only need to be concerned with CDI Lite limitations when deploying our code to a Jakarta EE Core Profile implementation. The Jakarta EE Web Profile and the full Jakarta EE platform contain full CDI functionality...