0 Replies Latest reply on Oct 31, 2007 5:01 AM by cyberjag

    @EJB annotation - Multiple jars

    cyberjag

      jar1 has SessionBean1 which is ejb 2.1
      jar2 has SessionBean2 which is ejb 3.0

      I am using @EJB annotation in SessionBean2 for getting the remote interface of SessionBean1.

      @EJB private SessionBean1Remote bean1;
      



      In order to complete the configuration I need <ejb-ref> in the ejb-jar.xml

      But I am not sure about the exact entries. Whatever I am trying is giving JNDI error. Can somebody help me on this ?

      TIA