Annotation in JAXB

Connect with

Oracle JavaWell, in this post I tried to explain different type of Annotation used in JAXB API

Different Annotation used in JAXB

There are different annotation used in Java Architecture for XML binding (JAXB), here are some key annotations used in JAXB. If you don’t know the jaxb, you can view my another post , what is JAXB? .

[table “” not found /]

example of @XmlJavaTypeAdapter

code snippet of @XmlJavaTypeAdapter(MyDateAdapter.class)

 private Date dateOfBirth;

Official Site
Your comments are welcome to improve this post. Happy Learning 🙂

Connect with

Leave a Reply

Your email address will not be published. Required fields are marked *