1.

What is the importance of using @XmlRootElement?

Answer»

The main purpose of @XmlRootElement is to TRANSFORM or convert Java OBJECTS to XML and vice versa. It is generally the base common annotation USED for JAXB API. It uniquely associates a root element with a CLASS.  



Discussion

No Comment Found