It's not a secret anymore!
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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: 383
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: ejb-ref element references to other beans
 
Similar Threads
Classcast exception after deployment
unresolved ejb-link
ejb-ref and ejb-local-ref can be used for message driven beans?
Problem deploying ejbs in weblogic
Error deploying ejb in JBoss 5