...
The above @EJB annotation usage is 100% equivalent to the following xml.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<ejb-ref> <ejb-ref-name>myFooEjb</ejb-ref-name> <remote>org.superbiz.refs.FooRemote</remote> </ejb-ref> <ejb-ref> <ejb-ref-name>org.superbiz.refs.MyEjbRemoteRefBean/myBarEjb</ejb-ref-name> <remote>org.superbiz.refs.BarRemote</remote> <injection-target> <injection-target-class>org.superbiz.refs.MyEjbRemoteRefBean</injection-target-class> <injection-target-name>myBarEjb</injection-target-name> </injection-target> </ejb-ref> |