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 am making a Java EE based product in which I'm using GlassFish 3 and EJB 3.1. My application has session beans, …
ejb-3.0 glassfish-3 cdi apache-tomeeI am using Weld as CDI implementation. My integration test, that tries to assemble object graph instantiating Weld container works …
java jakarta-ee maven cdi jboss-weldI have a @SessionScoped @Named bean with a @Producer method for a user object: @Named @SessionScoped public class UserBean implements …
java cdi jboss-weldI feel there is a little mess in the Java EE 6 spec. There are several sets of annotations. We have …
java jakarta-ee java-ee-6 cdiI really need your help. I'm working on this problem for weeks or months now. I apologize for the long …
jakarta-ee servlets jetty cdi jboss-weldWhat's the difference between @Inject and @Resource and @Autowired annotations? When should we use each of them?
spring dependency-injection annotations cdi autowiredI'm trying to inject an object of a given type (Greeter) on an EJB running inside Wildfly 8.2. However, the deployment …
jakarta-ee cdi code-injectionIs it possible to use CDI to inject parameters into method calls? The expected behaviour would be similar to field …
java dependency-injection cdi jboss-weld