I can look up the remote interface of an EJB3 from a Glassfish 2.1 using the global jndi name. However, as I understand, if this were not a LC module but an EJB (Servlet), I would have an ejb-local-ref entry in its ejb-jar.xml (web.xml).
Is there a place to define Local references for an LC module?
Thanks!
Quoting from the Glassfish EJB FAQ :
and
The LCM lives outside the application containing the EJB, by definition, so, the answer is no.
When I discovered them, I saw all kinds of interesting applications for LCM’s, but as I discovered more and more limitations (the fact that they are GF-specific included) that enthusiasm mostly disappeared.