jar1 has SessionBean1 which is ejb 2.1jar2 has SessionBean2 which is ejb 3.0I am using @EJB annotation in SessionBean2 for getting the remote interface of SessionBean1.
@EJB private SessionBean1Remote bean1;