3 Replies Latest reply on Sep 17, 2007 7:12 AM by earniedyke

    Injected EJB in a web app

    earniedyke

      Greetings all,

      I have an EJB3 that is deployed in 4.0.5 from a jar file. In the same 4.0.5 I have a war file with a JSF backing bean that needs a reference to the EJB. I have:

      @EJB
      private MyEJB3 myejbe;
      


      coded in the backing bean but when the web app executes, myejb3 is always null. Shouldn't I be able to do this?

      And the EJB should be the remote interface and NOT the bean itself correct?

      Earnie!