posted 17 years ago
Hi Swamy,
Please refer to the spec 20.3.2 Application Assemblers responsibilities.
ejb-link is an optional element on the ejb-ref or erb-localref tags which menas you cannot eliminate the defination of these tags.
No you cannot assume that this referred bean may not have been registered in any deployment descriptor and that is why he has to do all this.
The ejb-link tag is used by the application assembler to link the bean to another bena defined anywhere in the application and to avoid the changes to the names of the beans he can use the link with the path descriptor so that the need for the uniqueness of the bean names can be eliminated.
Hope this helps, but point to me if i am wrong.
Regards
Nileesha<br />SCJP 1.4, SCBCD, SCWCD.