I still don't fully understand what you mean by 'XML not there'. The generated beans from XMLBeans can be used as beans - though there is an interface / impl separation - I'd be OK with just generating beans rather than an interface + impl but I guess it gives some flexibility.

I mean can these classes be used when there is no XML support in the class path?



One unique feature of XMLBeans is that its not lossless. So if you parse some XML you can tinker with the beans & write out the XML again preserving any comments and so forth. This could be useful to allow customisation of XML config files (say, via JMX) & then write them back to disk.

That does sound interesting... I think I will have to take a look.

--jason



Reply via email to