posted 18 years ago
Hi Prahant,
This Informations is provide by Bean provider to Assembler or Deployer, who is going to link the reference. This information tells the Assembler or Deployer as Iam refering this as stateless bean(stateful, entity) and home this(specified in descriptor) and component this (specified in descriptor). So Assembler or Deployer don't need to open the Bean class which is provided by bean provider to see what is the type of bean and home interface(Bean provider used in casting for lookup object). likewise for componet interface also.
If only deployer or Assembler knows exactly about the informations interface are refered by bean provider , then only they can link it correctly.
So
<ejb-ref-name/>
<ejb-ref-type/>
<home/>
<remote/>
The above informations is mandatory. The Bean provider should specified while refering the ejb-ref.
The same concept is implemented in
<resource-ref>
<ref-name></ref-name>
<ref-type></ref-type>
</resource-ref>
I hope you get me.
Regards
Kasimurugan R.
Thanks & Regards
Kasimurugan (SCJP1.4, SCBCD1.3), Preparing SCWCD1.4