2 Replies Latest reply on Mar 15, 2011 7:05 AM by phunhuan

    How to replicate XMBean state?

    phunhuan

      I have an XMBean service (*.sar)  deployed aspart of an application (*ear). The mbean service's purpose is to persist configuration data to a flat file (*.txt). So to move the application to a cluster environment, how do I make my mbean service to be able to replicate its state to all nodes in the cluster??

       

      By the way, I am using JBoss 5.1.0 version.

       

      Thanks in advance.

        • 1. How to replicate XMBean state?
          welle

          There is no built-in support for clustering in JBoss for MBeans (from what I know that is )

           

          I would suggest that you implement your own PersistenceManager for the XMBean that uses JBossCache

          to replicate the setup. (I guess that you already implemented your own as you are not saving the setup in XML with

          the "org.jboss.mx.persistence.DelegatingPersistenceManager", or?)

          • 2. How to replicate XMBean state?
            phunhuan

            Thank you very much for your reply Anders.

             

            I will look into JBoss Cache and see how it can help me in this case.

             

            -phunhuan