Hi!
Rickard �berg wrote:
>
> Hey
>
> Trying to get my Bank examples to run, and found a bug in the
> EjbRefMetadata class. There are two ways to resolve an "ejb-ref": either
> to a name of an EJB in the same app ("internal link"), or to a full
> JNDI-name ("external link"). Internal links are defined in the
> ejb-jar.xml file as "ejb-link", and external links are in jboss.xml as
> "jndi-name".
Not quite sure I follow you. What is, or should be, the technical
difference in jboss between an internal and an external link? Can't
they both be LinkRefs in JNDI?
>
> Currently, if "ejb-link" is given that is interpreted as an external
> link. If it is not given the "home" element is used to resolve the link.
> BOTH of these are wrong. "ejb-link" given -> internal link. Not given ->
> unresolved link that should be caught by the verifier.
Is the jboss.xml section really needed? Can't we just look for a bean
that matches the class names? (that was the use of my
ApplicationMetadata.getJndiFromHome(), from jboss1.0)
>
> EjbRefMetaData must be updated with correct semantics, and BeanMetaData
> must also be updated to account for the jboss.xml information.
> Sebastien, you are set as author, can you make these changes please?
Sure, as soon as I get it :)
Sebastien
>
> Thanks,
> Rickard
>
> --
> Rickard �berg
>
> Email: [EMAIL PROTECTED]
> http://www.telkel.com
> http://www.jboss.org
> http://www.dreambean.com