Hi!
Oleg Nitz wrote:
> Now I am up. What are the questions?
> * Should ejb-link default to ejb-ref-name?
> Yes, at least it is my understanding of 14.3.2.
> More precisely, if ejb-link is not specified, ejb-ref-name is used.
No, this is not stated in 14.3.2. The Assembler must specify the
ejb-link, or the EJB reference is considered incomplete (from a
deployment point of view).
> * Can Deployer set ejb-link in order to bind ejb-ref to an appropriate
> bean?
> No, Deployer should use some vendor-specific way, "...for example,
> the JNDI LinkRef mechanism..." or jboss.xml.
> At least it is my understanding of 14.3.3.
The Deployer can set the ejb-link (as can the Bean Developer and
Assembler), but if the bean should reference a bean outside of the
application, then a properietary setting must be used. And such a
setting is indeed available in jboss. If you edit a EJB-reference in the
jBoss plugin you will see an optional JNDI-name field.
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]