[jboss-user] [Clustering/JBoss] - Clustered Beans with Local Interface

venukb do-not-reply at jboss.com
Wed Oct 8 01:41:01 EDT 2008

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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180927#4180927

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180927

More information about the jboss-user mailing list