1 Reply Latest reply on Sep 19, 2003 8:13 AM by Adrian Brock

    Define Local and Remote Home interface

    Alen Ribic Newbie

      I wish to define Local and Remote Home interface for my Session Bean. I have done so in my ejb-jar.xml.
      How do I define in the jboss.xml remote and local binding for JNDI?

      So, ctx.lookup("ejb/CatalogHome") == Remote
      And, ctx.lookup("ejb/CatalogLocalHome") == Local

      I have remote working as follows (jboss.xml):
      <enterprise-beans>

      <ejb-name>CatalogEJB</ejb-name>
      <jndi-name>ejb/CatalogHome</jndi-name>

      </enterprise-beans>

      What about local now?

      Thanks