I’m unsure of how I could write a DAO to write information to XML files. I know how to use Sax and JDOM but what I’d like to know is how the DAO could be initialized to set the XML file path. The CRUD-style methods shouldn’t be an issue but if you have any further suggestions please don’t hesitate.
Share
just pass the path in?
EDIT — or if it is constant, just put in the DAO class hierarchy somewhere, or you could configure it with properties. Something like this should not slow you down — do something that works and refactor when you need to…