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'm reasonably new to Java EE, so this might be stupid.. bear with me pls :D I would like to …
glassfish cdi java-ee-6 ejb-3.1 glassfish-3I have an application with a well defined interface. It uses CDI for resolution of the modules, (Specifically it uses …
java jsf-2 cdi jboss-weld modularI want to create a Producer that makes it possible to inject a java.util.ResourceBundle into any class in …
jakarta-ee java-ee-6 cdi jboss-weldI am using CDI as injection framework, but I have found some limitations in its usage, and this is one …
java cdiMy Java EE 6 application consists of a war and an ejb module packaged in ear file. I'm using CDI for …
jakarta-ee interceptor cdi ejb-3.1Have the following code snippets: Bean: import javax.faces.view.ViewScoped; import javax.inject.Named; @Named(value = "directoryBean") @ViewScoped public …
jsf cdi faces-config propertynotfoundexception jsf-2.3In the new Glassfish 4.1 the package javax.enterprise.context containing annotation SessionScoped for instance is missing.
cdi glassfish-4I've found lots of tutorials showing Weld code samples, but not an introductory overview. Could you please suggest an introductory …
jakarta-ee java-ee-6 cdi jboss-weldI need to write a bean that would act as a counter of how many times it was accessed. I'm …
java jakarta-ee concurrency cdi