Possible Duplicate:
Java converting XML to Java objects
Hi,
Can someone please suggest the best and different ways of converting a XML file to an Java object?
Thanks & Regards, Ravi.
Possible Duplicate:
Java converting XML to Java objects
Hi,
Can someone please suggest the best and different ways of converting a XML file to an Java object?
Thanks & Regards, Ravi.
You can user available frameworks like Castor or Xstream
I would recommend Xstream considering the simplicity of use. This 2 minute tutorial of Xstream will help you to get started quickly.
There are a lot of xml-to-java-frameworks around. In the past I've worked a lot with jibx.