10 Replies Latest reply on Feb 4, 2008 4:45 PM by sappenin

    Clustered Service MBean with @Clustered, @Service(..)

    db__

      Is it possible to define a clusterwide singleton service, through

      @Clustered
      @Service(...)

      ?
      I wrote such a mbean but the service is only a singleton on one clusternode. not clusterwide.
      If this feature isn't available is it possible to modify this lookup code to ask a remote jboss server?

      try {
      MBeanServer server = MBeanServerLocator.locate();

      count = (Counbean) MBeanProxyExt.create(Countbean.class,
      "com.mine:service=countbean", server);
      } catch (Exception e) {
      e.printStackTrace();
      }

      regards,
      -Dennis