This content has been marked as final.
Show 1 reply
-
1. Re: local ref/link to ejb in seperate jar in the same ear
saylor09 Feb 6, 2002 4:23 PM (in response to saylor09)Well, according to the spec and notes in the ejb-jar.dtd, this should be possible by using the following kind of notation:
<ejb-link>../productEJB.jar#Product</ejb-link>
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?