Rupp, Heiko wrote:
that looked at seem to be too heavy weight for me. But metadata is a common problem. Therefore, I wanted to know about other requirements.


One requirement is that everything that (meta-)handles metadata
should be in one place. I think it is a pita, when each module has
e.g. code to do the (local) entity resolving on its own. This should be condensed into a central module with a central file
that tells which file maps to which public id.

This should not be a problem. We already have LocalEntityResolver that does it.



Also for the XML files, I'd like to see something like


Tree t = MetadataProvider.get("data for cmp.xml");
String defaultDB = t.getXPath("/foo/bar/default/db");

which means navigating with XPath.
There is a project JXPath (@jakarta), that could help here.

JXPath seems to work with any JavaBean tree. So, also not a problem.



Heiko




-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to