0 Replies Latest reply on Jul 8, 2002 9:05 AM by Ron Cordell

    Local Interface Confusion

    Ron Cordell Newbie

      OK - I am sorry to post such a beginner question, but I am confused about using local interfaces in JBoss 2.4.3.

      I have an entity and session beans that have both remote and local interfaces. In the descriptor file I have something like:
      <ejb-name>mySessionBean</ejb-name>
      mySessionBeanHome
      <local-home>mySessionBeanLocalHome</local-home>
      mySessionBeanRemote
      mySessionBeanLocal
      <ejb-ref>
      <ejb-name>myEntityBean</ejb-ref>
      myEntityBeanHome
      <local-home>myEntityBeanLocalHome</local-home>
      myEntityBeanRemote
      myEntityBeanLocal
      </ejb-ref>

      Without worrying too much about the syntax of the above (I am typing this from memory while having coffee and bagel before going to office this morning), how do I know that I am using the local interface when my session bean accesses the entity bean? The docs refer to a Proxy interface, but don't really give out explicit details, so I thought I would ask here.

      Thanks for any hints.