I have a problem with the way JAXB is generating the bound classes for an XML schema (which, for sake of precision, I cannot modify). I want to map a xsd:date type to a Joda
You do not need to extend XmlAdapter and with Joda-Time v2, you do not even need to implement static methods, as they are already provided.
XmlAdapter
See JAXB datatype converters for xs:date xs:time and xs:dateTime