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". 

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.

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?

Thanks,
  Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com

Reply via email to