• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

meaning of Deployers binding role

 
Prashu Negu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont understand *Binding* responsibilty of Deployer. For example whats the meaning of "The Deployer BINDS the EJB references to the enterprise bean homes in the target operational environment."

<ejb-ref>
<ejb-ref-name>ejb/EmplRecord</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>com.wombat.empl.EmployeeRecordHome</home>
<remote>com.wombat.empl.EmployeeRecord</remote>
<ejb-link>EmployeeRecord</ejb-link>
</ejb-ref>

If this is specified in DD, then it is automatically binded and this is done by Bean Provider and Assembler. Then, whats Deployer binds?

Thanks,
Prashant
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deployer is an expert for deploying the EAR file to the corresponding container. He knows something that the developers and assemblers do not know, e.g. connection factory references, container specific setting, etc.

For more detail, you could refer to HF EJB page 618.

Nick
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic