Contexts and Dependency Injection (CDI): Java Platform, Enterprise Edition (Java EE) 5 brought dependency injection (DI) with Convention over Configuration to Enterprise JavaBeans (EJB) 3.0. Java EE 6 introduces the flexible and powerful @Inject dependency injection model (JSR-330 and JSR-299) in addition to the already existing @EJB annotation.
I've looked at JBoss' Weld Reference Implementation of JSR-299 Contexts and Dependency Injection, and I wanted to know how others …
jakarta-ee java-ee-6 resin cdi jboss-weldI am struggling to understand the effective lifecycle of a @Dependent scoped bean in both CDI 1.0 and CDI 1.1. My experiments …
jakarta-ee cdi jboss-weld weldWhen I was working with CDI, I could use the @Produces annotation to create a producer method to be called …
java spring dependency-injection cdiI would like to have in Java SE @Stateless public class CarDAO { @Inject private EntityManager em; public Car findById(Long …
java jpa cdi entitymanagerI seem to be having a problem where I have an a4j:commandLink on a rich:popupPanel but the …
jsf-2 richfaces cdi jboss-weld commandlinkI have a very famous error, but I can't solve it. I'm trying to run arqullian test for my application. …
jboss ejb jboss7.x cdi jboss-arquillianI wrote a converter. I am using CDI and injection parallel. In that case the classes are not injected. How …
jsf jakarta-ee dependency-injection cdiThis question is related to a previous one on writing a session timeout handler. The answer in that thread involved …
jsf-2 servlet-filters cdiIs constructor injection supported in GlassFish 3.1's implementation of CDI for managed beans? I have a @Singleton EJB into which …
dependency-injection glassfish java-ee-6 cdi constructor-injectionIs an EntityManager @Inject[ed] as follows in muliple classes threadsafe? @PersistenceContext(unitName="blah") private EntityManager em; This question and …
java java-ee-6 cdi