I wanted to know if someone can give me some information about ejb-ref and ejb-local-ref in web application.
Why do we have to use them ? What are advantages ?
Can we reference a remote ejb (in another JBoss server or another J2EE server) ? (and how to do this).
Thanks by advance !
Ejb reference tag used basically when we map the session bean to differenr ejb In that case no body can access directlly that entity bean.Always when we lookup that bean we have a need of that session bean which has a refence of that session bean(see design patterns).