CDI (Context and Dependency Injection) is a complete and lightweight injection technology designed for Java EE environment. Special container objects (EJB,EntityManager), primitive data type elements and Java class/objects written by you can be easily managed and injected as well through …