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
I think so, but you'ld have to lookup the @Remote interface, i don't think @Local interfaces appear in the ha jndi.