Hello,
I've speaking lately with David Jencks about JBoss "state" (configuration)
snapshoting and versioning.
Currently, JBoss running-configuration (RC) and static-configuration (SC)
are two different things. the static-configuration is defined by the set of
files in /conf, /deploy and /lib. The running-config is defined by the base
static-config + any modification that has occured after that:
creation/deletion of MBeans, etc.
For example, dynamically adding a topic through the http interface will not
be a persistent creation: restarting jboss will forget about this topic.
Etc.
This first step is important as it is critical to be able to remotely and
dynamically configure a running jboss instance.
The second step that is possible to reach from there is versionning.
The question is how to get a "snapshot" of a *running-config* of a jboss
instance. This state will incoroporate:
- the mbean definitions (metadata), config, etc. and maybe some other state
- (important) the correct order for the the deployment of these mbeans
(because of the dependencies they have with each other)
Once you have a snapshot, you can persist it anywhere (filesystem, CVS,
etc.) and retrieve it. Maybe then, some kind of central manager (daemon)
that could start/stop different JBoss instances (with different configs)
could also be of use.
Partial snapshot should also be possible (for example, "I want to snapshot
all J2EE applications + Mbeans in the "com.mycompany.*" JMX domain name",
thus only snapshoting applications + related config and not the system)
David's remarks were notably:
- the fact that Service controller, creator, configurator and associated
deployer are too strongly mixed up
- lifecycle management should be moved to mbean interceptors
It seems that some people are working on some of the parts involved in this
proposal. So my questions are:
- What do you think about this feature, how you think it should/not be
implemented, etc.
- If the parts on which you are working can help on this task
- etc.
But remember: KISS ;)
Cheers,
Sacha
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development