[jboss-user] [EJB 3.0] - @EJB annotation - Multiple jars

cyberjag do-not-reply at jboss.com
Wed Oct 31 05:01:57 EDT 2007


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




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100541#4100541

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100541



More information about the jboss-user mailing list