David Salter [https://community.jboss.org/people/david.salter] created the 
discussion

"Re: EJB 3.1, CDI, JSF 2 ERROR java.lang.NullPointerException"

To view the discussion, visit: https://community.jboss.org/message/724463#724463

--------------------------------------------------------------
If you declare your bean as

    @EJB
    MyBean myBean;

then it should work correctly as the name will be looked up and injected 
correctly.

Also, if you're using EJB 3.1, then your business interfaces are optional.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/724463#724463]

Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to