PDA

View Full Version : XML Parsing and Caching


cags
Jul 13th, 2006, 02:44 AM
HI,

Please let me know if there is any API exposed by Spring to parse custom xml files (not bean definitions) and also cache the xml time based.

This is essentially to load the application configuration parameters !!

Thanks,
Chris

Costin Leau
Jul 13th, 2006, 05:29 AM
No there isn't - however there are plenty of libraries out there. For easy parsing and assignment I would recommend commons-digester - however, if you have time doing the parsing yourself (especially when dealing with a static model) seems to work out much better.