2 Replies Latest reply on May 16, 2003 2:22 PM by Chad Lavy

    remote/local interfaces interchangeable

    Chad Lavy Newbie

      I have discovered, accidentally, that in place of local interfaces in my ejb-local-ref block I have been using remote ones. It has worked for some time without error. Is this a bug? Does it mean that it is unnecessary for me to create local interfaces in JBoss?

      Here's a snippit:

      <ejb-local-ref>
      <ejb-ref-name>emdr/datamodel/LocalClassFunctionDA</ejb-ref-name>
      <ejb-ref-type>Entity</ejb-ref-type>
      <local-home>com.bankone.emdr.dataaccess.interfaces.ClassFunctionDAHome</local-home>
      <local>com.bankone.emdr.dataaccess.interfaces.ClassFunctionDA</local>
      <ejb-link>testClassFunctionDABean</ejb-link>
      </ejb-local-ref>

      ClassFunctionDAHome is a remote home interface and ClassFunctionDA is a remote object interface.