@Local Bean Injection - How?
I have a bunch of beans with both Local and Remote interfaces. We need at
least Remote interfaces, as our beans are queried from secondary servers,
though I would like to use Local references when accessing within the same
I am hosting both a WAR and an EJB inside the same glassfish instance, but
doing the following gives me errors about not finding the bean.
@EJB MyBeanLocal myBean;
My session bean DEFINITELY implements both the @Local interfaces and @Remote
interface, and the MyBeanLocal is DEFINITELY the @Local. Doing the same but
replacing the Local with Remote works fine though.