jaxb annotations

@XmlRootElement Class level. Mark as Root @XmlType(properOder={“field1”, “field2″…} Class Level. Not root element and will be used inside the DOM tree. notice the propOrder parameter of the @XmlType annotation. By default JAXB will order the elements alphabetically. Use the propOrder parameter to specify the order when marshaling to XML. The values are the bean names,…