I am developing application for drawing star charts. It have two parts: engine which can run standalone and GUI. Application is already using Spring beans.
I need way to configure engine behaviour. It must work in various situations including command line, J2EE container and desktop application. JMX is propably good choice. I want to use JMX as configuration protocol between GUI and engine.
I read Sun and Spring documentation, but few things are not clear to me:
1) Is it possible to persist changes made by JMX when JVM terminates?
2) All samples shows only changing of trivial values as method parameters (strings, numbers...). Can normal object be used as method parameter? Is it possible inject another implementation to existing bean with JMX?
3) Is there any known use of JMX in desktop application?
Thanks for reply