I'm porting c# application to Java and don't know what it is doing in details. With what should I replace .Net's XmlSerializer in Java?
Thank you.
I'm porting c# application to Java and don't know what it is doing in details. With what should I replace .Net's XmlSerializer in Java?
Thank you.
XStream is a simple library to serialize objects to XML and back again.
JAXB is your best bet and its also a Java standard.
Interesting posts: (Courtesy of Blaise Doughan)
In java you can use different technology to serialize/deserialize XML.
From an XML schema :
With XPath :
Castor is another simple to use XML data-binding framework for Java.