title: What is the best way to convert a java object to xml with open source apis
body: <p>I was wondering what the best or most widely used apis are to convert a java object to xml.  I'm fairly new on the subject. Is there some sort of api call you can make to pass in an object and return xml? Or is it much more tedious where as you need to construct the document manually by pulling out object values?</p>
  
  <p>I have been reading about xerces, sax, and jaxb.  I would like to continue along this open source route.</p>
  
  <p>Thanks!</p>