I'd like to create an MBean "singleton" that keeps track of various user-modifiable configuration settings. In a clustered config, I would assume there would be one of these singleton MBeans instantiated on each node. If I do this, how does JBoss handle:
- persisting these changes to my MBean so that the change will remain in effect after JBoss (or the MBean) has been restarted.
- propogating these changes to duplicate MBeans on other nodes in the cluster.
Would it be better to only have this type of MBean running on one of the nodes in the cluster?
How does JBoss handle MBeans in a cluster in general?