1 Reply Latest reply on Oct 16, 2008 6:39 PM by Dieter Cailliau

    Clustered Beans with Local Interface

    Venu Kemthur Newbie

      Jboss Version : 4.2.3 GA
      EJB : 3.0

      As per the docs, to cluster a stateful/stateless bean you need to add @Cluster annotation

      Now if this clustered bean has only a local interface, what does it mean?

      A servlet running on a node can lookup/invoke a bean using only the local interface. Does this mean that the bean is not "clustered"

      Or can this servlet still get serviced by beans running on different nodes?
      If yes, does the servlet need to lookup HA JNDI using the following line

      p.put(Context.PROVIDER_URL, "localhost:1100");

      -- Venu