Matt Munz wrote:
Bill,


My thinking is that a "well-crafted object graph or relational db" needs
to be crafted and the code maintained.  Most components in JBoss are
configured
Well, so do DTDs and XML schemas.  It is an interesting argument that an XML
Document object is a more flexible construct than a given arrangement of
Data Objects (Hashtables, lists), and POJOs.  I suppose the primary point is
that an XPath query is more easily maintained than a given set of method
calls.  It certainly avoids the compiler, but so does the JMX bus, which
does not use an XML document object as its metadata database...

Actually, Jakarta JXPath can handle practically any java object graph (consisting of JavaBeans, Maps, etc. ) and traverse it via an XPATH query, so you don't have to tie yourselves to DOM objects.

check out
http://jakarta.apache.org/commons/jxpath/

So, actually, as long as your custom object graph is 'equivalent' to a DOM tree you can remove the DOM tree from the global configuration and replace it by your custom object graph. Don't know if it is useful to anybody, though.



via XML files.  Why not store this XML in memory with Xerces? XML Objects
provide us with a common, simple, easy way to store config data in memory
and reference it(XPath).

Sure.  But don't the XML Objects eventually get converted into Objects?  Why
not keep those Objects in memory?

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?

  - Matt

--
-------------------------------------------------------------------------
Anatoly Akkerman
Computer Science Dept.
Courant Institute of Mathematical Sciences, NYU
715 Broadway, #719 Tel: 212 998-3493
New York, NY 10003 Fax: 212 995-4123
-------------------------------------------------------------------------



-------------------------------------------------------
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

Reply via email to