Deployment unit is the deployment containing the reference. Despite previous statement, it
must be specified.
For example suppose A.jar has BeanA with @EJB BeanB b; then the deployment unit will point
to A.jar. If that doesn't contain BeanB, then we go to the top level deployment unit
(hopefully X.ear) and start looking there. For each deployment unit the JBossMetaData
attachment is queried.
I don't see how a class loader works into play here.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185012#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...