1 Reply Latest reply on Nov 15, 2001 9:59 PM by Allen Fogleson

    What is ejb-ref good for?

    Ignacio Newbie

      I was seeing the docs and they recommend to use the ejb-ref tag in ejb-jar to reference an EJB from another. I simply don't know why, since the java code is the same.

        • 1. Re: What is ejb-ref good for?
          Allen Fogleson Newbie

          It makes the app more portable for starters. This is mostly related to the differences in roles between bean developer and deployer.

          The deployer will map your call to ejb/myBean to some instance bound into their namespace. in jboss this is done in Jboss.xml.

          Al

          P.S. Yes there is a blurring of Developer/deployer really with developers often filling both roles, but I have developed in an environment where there wasnt that blurring believe me it makes a lot of sense when you do it in those conditions.