Raj Kamal wrote:
An XML file can be converted into a class hierarchy using JAXB but am not sure if a schema definition is mandatory for the operation.
To work with JAXB one needs to have a schema. I don't think using JAXB one can generate classes from an XML document alone.