Contextual objects with a well-defined life cycle providing multiple scopes of availability
Ability to bind directly between contextual objects and Unified Expression Language (EL)
Dependency injection utilizing a type-safe ...
11. Contexts and Dependency Injection
Josh Juneau1
(1)
Hinckley, IL, USA
One of the most important specifications in the Jakarta EE platform is Jakarta Contexts and Dependency Injection (CDI). As stated on the cdi-spec.org site, it is a suite of complementary services that can improve the overall structure and design of code. The specification provides the following features for Jakarta EE and Java SE applications, as per the cdi-spec.org:
Get Jakarta EE Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.