I' wondering what best-practices exist when it comes to passing a xml document around in an application. The most simple alternative would be simply to pass it around as a String, but then you would have to parse the String everytime you need to use the information in the document. Another option could be to build a org.w3c.dom.Document and pass that around, but those are not serializable (right?) and that's no fun if you have an application that could potentially be distrubuted in the future. What I'd like to know is what good or bad experiences people here have of different approaches, and what you would recommend.