Consuming local EJB, in the same Container but different ears
I'm triying to consume a Local EJB in the same Glassfish, but different ears. But Glassfish can't found the local EJB or can't consume I read this: According to the JavaEE tutorial, the client of a @Local bean "must run in the same JVM as the enterprise bean it accesses." In the first ear , I have the local Interface inside a jar @Local public interface MyLocalBean { int getNumber(int num3); } In another jar, I have the implementation @Stateless @LocalBean public class MyLocalBeanImpl implements MyLocalBean,Serializable{ public MyLocalBeanImpl() {} public int getNumber(int num3){...... In the