GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes ejb-ref element references to other beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ejb-ref element references to other beans" Watch "ejb-ref element references to other beans" New topic
Author

ejb-ref element references to other beans

Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
Hello,

Can anyone tell me what ejb references to other beans are for? (ejb-ref element).

I am completely missing the point and would be grateful if someone could tell me why I should have the overhead of writing this:

<ejb-ref>
<ejb-ref-name>ejb/waUserMgr</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.reuters.pds.webapp.bl.user.api.WAUserMgrHome</home>
<remote>com.reuters.pds.webapp.bl.user.api.WAUserMgr</remote>
<ejb-link>WAUserMgrEJB</ejb-link>
</ejb-ref>

Any comment welcome..

Julien.
 
GeeCON Prague 2014
 
subject: ejb-ref element references to other beans