Well, according to the spec and notes in the ejb-jar.dtd, this should be possible by using the following kind of notation:
I've tried several variations on this without success. I haven't found any definitive answer to this in the JBoss docs or in the forums. I've also attempted to define an ejb-ref in jboss.xml, but it doesn't seem to work for ejb-local-refs.
I'm still a beginner when it comes to EJBs and JBoss so I'm probably missing something. But so far, I'm assuming that in JBoss any ejb-local-ref needs to point to an EJB in the same jar file. I suppose I'll just have to resolve to using the global jndi name?
Can anyone at least confirm this?