Bill, > What I was trying to suggest is that complex xml config data is modified via > a file or through some Management Console at runtime. Components can > register via XPATHS to listen to this changed data. They are notified and > update their local config, construct new objects, whatever...
> Hmmm...I'm starting to see what you're saying. MBeans already have > notifications and ways to query, right? Yes. Why not build on JMX and JBoss Management instead of around it? > > For the objects that end up as MBeans, perhaps an enhanced search > > mechanism > > for the MBean Registry would be another way to address the problem? > XPATHs would be a perfect fit for something like this. Why recreate? A matter of implementation, right? Perhaps the search features are an extension of JMX (more of a JBoss Management feature). Maybe the jxPath route might work -- maybe something else? I don't know if the current search implementation could be replaced easily with something else or not... The MBean registry seemed fairly simple at first glance... something like a big Hashtable... > Another thing that MBeans don't seem to address is the notion of layered > configuration or in other words configuration domains. Each layer can > inherit/modify the configuration from a top level layer. Cluster wide > config. Per APp server config tailored to each machine. Overrides at the > component and invocation level. Well, MBeans are fairly neutral. I'm sure that we could pile on whatever structure we want. For example, to make MBean persistence work, we used a certain MBean attribute to denote that an MBean could be persisted in a certain way. Nothing in the spec. requires this -- it's just an extension. Your configuration domains might be treated in a similar manner. > Let's take a use-case. Let's say I want to change config cluster-wide for > one particular attribute. Let's say DB connection pool max size. What you > have to do now is go to each and every machine to do this. Use cases are good. I don't know much about JBoss clustering -- I wouldn't know where to start. Is it possible to give a single-machine example? - Matt ------------------------------------------------------- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development