Tag Archives: jaxb

JAXB: Date Format Example in Java

Oracle Java
You know , java.util.Date is the complex object, and parsing from string to Date is little bit complex. but don’t worry, it can be simple once you know the basic things.

JAXB supports to customize marshaling and de-marshaling of java.util.Date object, meaning that , you can customize your own format of data in xml and and java object. You have to defined XmlAdapter which control the customization of your data format.
Continue reading JAXB: Date Format Example in Java