Hello,
for configuring technical aspects of an application, I've developed a MBean that shall be persisted to make sure that the settings are available again after a shutdown and restart of the application. I read several articles and implemented several tests to achieve MBean persistence without any success. I implemented the MBeans manually by instantiating a RequiredModelMBean with registration of my resource as well implementing the MBean using the Spring JMX support (I'm using Spring Framework in the application).
In all cases, my MBean was registered and available in the JMX console of the HCP account, but it's state wasn't persisted in all cases.
Is there an example of MBean persistence related to SAP HCP available? Or does anybody have any hints regarding this topic?
Thanks & Best regards,
Thomas