By martinig

Contexts and Dependency Injection for Java EE (CDI) 1.0 was introduced as part of the Java EE 6 platform, and has quickly become one of the most important and popular components of the platform. CDI defines a powerful set of complementary services that help improve the structure of application code like a sophisticated, type-safe dependency injection mechanism, including the ability to select dependencies at either development or deployment time, without verbose configuration.