Convert xml to java bean
How can I covert a an xml file to a simple java bean? Its a simple xml file without any xsd, which was generated from a java bean, which I don't have access to. I tried using xmlbeans to first generate the xmd from xml and then to generate classes from the xsd. I got a bunch of classes. I am looking for a single java bean class. JAXB JAXB ( JSR-222 ) provides an easy way to convert objects to XML. There are many open source implementations of this standard including: Metro JAXB (the reference implementation included in Java SE 6) EclipseLink JAXB (MOXy) , I'm the tech lead Apache JaxMe JAXB