4 Replies Latest reply on Feb 9, 2009 7:31 AM by deberlin

    Supported ejb references in JBoss5.0

      Supported JBoss 5.0 the referencing from local-home-interfaces between different deployable ejbs.jar packages (not ear) like JBoss4.0?

      Example:

      The $jboss_home$/server/default/deploy contains two packages:
      
      PackageA.jar
      <session>
       <ejb-name>SessionBeanA</ejb-name>
       <home>tests.SessionBeanAHome</home>
       <local-home>tests.SessionBeanALocalHome</local-home>
       <remote>tests.SessionBeanARemote</remote>
       <local>tests.SessionBeanALocal</local>
       <ejb-class>tests.SessionBeanA</ejb-class>
       ...
      </session>
      
      PackageB.jar
      <session>
      <ejb-name>SessonBeanB</ejb-name>
      ...
       <ejb-local-ref>
       <ejb-ref-name>ejb/SessionBeanALocal</ejb-ref-name>
       <ejb-ref-type>Session</ejb-ref-type>
       <local-home>tests.SessionBeanALocalHome</local-home>
       <local>tests.SessionBeanALocal</local>
       <ejb-link>PackageA.jar#SessionBeanA</ejb-link>
       </ejb-local-ref>
      ...
      </session>