>
> If I was redoing this from scratch I would take a close look
> at using JAXB or something similar for parsing the mapping
> file.
>

FWIW, the Jakarta Commons "Digester" project might be very appropriate for
this kind of XML-file parsing. You create a digester, give it the rules it
should follow when it encounters elements of various types, and then tell it
to go. At the end, you have an object graph representing the XML. Tomcat and
Struts use it to parse their config files.

FWIW...

Donnie


_______________________________________________
Hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to