This illustration shows an example of the <ejb-ref> element, as follows:


<ejb-ref>
 <description>Hello World Bean</description>
 <ejb-ref-name>ejb/HelloWorld</ejb-ref-name>
 <ejb-ref-type>Session</ejb-ref-type>
 <home>hello.HelloHome</home>
 <remote>hello.Hello</remote>
 <ejb-link>HelloWorldBean</ejb-link>
</ejb-ref>