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 have @Stateless bean which implements two interfaces (remote and local). I have also added @LocalBean anotation for accessing bean …
dependency-injection java-ee-6 cdi entitymanager stateless-session-beanWhat is the difference between import javax.annotation.ManagedBean; import javax.enterprise.context.SessionScoped; and import javax.faces.bean.ManagedBean; …
jsf cdi managed-beanI have a web application running on a Servlet 3.0 container (Jetty 9.0.4) using JSF 2.2 (Mojorra 2.1.3) & CDI 1.1 (Weld 2.0.3). No full-fledged application …
rest jakarta-ee jax-rs cdi servlet-3.0In my project , I use JSF+JPA+CDI+WildFly 8.2 in the persistence layer. I have a BasicDao , like this: public …
jpa cdi wildfly entitymanager weldI tried to run flyway in my application before hibernate is hooking in on my JBoss AS 7.1. I tried with …
cdi ejb-3.1 flywayI've a session scoped bean: @Named @SessionScoped public class SessionBean implements Serializable { private String someProperty; public String getSomeProperty() { return someProperty; } } …
jsf constructor nullpointerexception cdi managed-beanAfter 2 days of debugging and trying I have no other idea than asking you for a solution. I want to …
tomcat jakarta-ee cdi jboss-weldI have a question about the correct format and usage of the bean.xml file. In my projects I typically …
java glassfish cdi jboss-weldI am trying to implement a sign up page on Tomcat server, but the backing bean isn't created, when I …
jsf tomcat cdi propertynotfoundexception