Hello,
I used to configure my application using a .properties file (outside the war/ear) that can be customized and reloaded at runtime. Application beans use the commons-configuration interface to get conf datas.
I'd like to use D.I. for those datas : use Spring to set initial value and JMX to reconfigure beans at runtime. This sounds great, but this requires to make new values persistent.
JMX defines a "persist" property on MBeans, but I haven't found a good tutorial too understand it's use. Is there a "standard" way to use the persit capability of MBeans and can I use it as a replacement / complement to properties files ?
Nico.


Reply With Quote