JAXB implements conversion between Java objects and XML

Source: Internet
Author: User
About JAXB:

1.JAXB is able to use Jackson's support implementation for JAXB annotations (jackson-module-jaxb-annotations), which facilitates the generation of XML and facilitates the generation of JSON, which can better flag Java classes that can be converted to JSON objects. JAXB allows Java people to map Java classes to XML representations, common annotations include: @XmlRootElement, @XmlElement, and so on.

2.JAXB (Java Architecture for XML Binding) is an industry standard that is a technology that can produce Java classes based on XML schemas. In this process, JAXB also provides a way to reverse-generate the Java object tree from the XML instance document, and can re-write the contents of the Java object tree to the XML instance document. On the other hand, JAXB provides a quick and easy way to bind XML schemas to Java representations, making it easy for Java developers to combine XML data and processing functions in Java applications.

JAXB implements conversion between Java objects and XML

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.