Note that there are some explanatory texts on larger screens.

plurals
  1. POJava to XML conversions?
    primarykey
    data
    text
    <p>What are different approaches to convert <code>Java Objects</code> to <code>XML</code>, I know one option is <code>JAXB</code> but would like to know what are the other <code>approaches/tools</code> available for the same ?</p> <p><strong><em>Note:</em></strong> I do not have further requirements and so I cannot add more <code>meat</code> to the question but at this point of time it would be really great if I can get an idea of what different approaches are available for converting <code>Java to XML</code> ?</p> <p><strong><em>Update:</em></strong> Different suggested approaches are:</p> <ol> <li><a href="http://download.oracle.com/javase/6/docs/api/javax/xml/bind/Marshaller.html" rel="noreferrer">javax.xml.bind.Marshaller</a> and <a href="http://download.oracle.com/javase/6/docs/api/javax/xml/bind/Unmarshaller.html" rel="noreferrer">javax.xml.bind.Unmarshaller</a></li> <li><a href="http://xstream.codehaus.org/" rel="noreferrer">XStream</a></li> <li><a href="http://xmlbeans.apache.org/" rel="noreferrer">XMLBean</a></li> <li><a href="http://jaxb.java.net/" rel="noreferrer">JAXB</a></li> <li><a href="http://www.castor.org/" rel="noreferrer">Castor</a></li> <li><a href="http://jibx.sourceforge.net/" rel="noreferrer">JIBX</a></li> <li><a href="http://commons.apache.org/digester/" rel="noreferrer">Apache Digester</a></li> </ol> <p>Now among all the suggested approaches what is the <strong><em>BEST</em></strong> approach to go convert <code>Java Objects to XML</code> and <code>XML to Java Objects</code> ?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload