1 Reply Latest reply on May 24, 2006 9:04 AM by bhupendra.yaduvenshi

    Ejb and clients ...

      Hello,

      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 !

        • 1. Re: Ejb and clients ...
          bhupendra.yaduvenshi

          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).

          Bhupendra