Castor framework (xml to java bean binder framework) provides functionality to map my existing java bean to xml. Can I achieve same thing using JAXB ?
Castor framework (xml to java bean binder framework) provides functionality to map my existing
Share
JAXB really works the other way round. Given an xsd, JAXB will generate a set of java objects reflecting the structure. Its not always easy to represent the structure of your POJOs in the form of an XSD. For your task I would suggest you use JIBX since this provides much finer control over how the individual xml entities are mapped to your Java objects