Hi, I'm building a small app that requires some database-like data storage but that is nowhere near needing an actual database. I'm thinking that XML is a good fit here - I'd like to build an object model, populate it from an XML file, manipulate it while the app is running and then re-persist my data back to an XML file before closing - I'm looking to XML to simplify (and hopefully completely remove!) the need for worrying about _how_ the data is put into and gotten out of the text file - parsing sucks. I need some basic searching capabilities (I know that DOM has some functionality like this) so that I could find 'employee x' based on salary, department, whatever and then insert, update, delete, etc much like I would with SQL. (In fact, I'd like to use Swing models that I could easily exchange with database-based models if/when the day comes...) Is DOM my answer? SAX? Some other object model? I'd rather use something good that exists than build something from scratch. Thanks, Jim
Eat that pie! EAT IT! Now read this tiny ad. READ IT!