[jboss-user] [EJB 3.0] - Clustered Singleton

apwalker do-not-reply at jboss.com
Mon Nov 26 23:22:35 EST 2007


I'm trying to create a HA-Singleton service and was wondering if new @Service annotation can be used with an @Clustered annotation and if so what is the semantic for the cluster behavior 

So if I have something like


  | ...
  | @Service
  | @Clustered
  | public MyService implements MyServiceManagement 
  | {
  | .....
  | }
  | 

Does this mean that I have once instance active on each node of the cluster or a single instance active in the entire cluster. If the latter then does it handle the HA failover protocol the same way the HASingletonSupport class does.

cheers

Aaron



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

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



More information about the jboss-user mailing list