Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/UserGuide/MOXy/2.4/overview001


Developing Persistence Architectures Using Eclipselink MOXy (JAXB), 2.4.x


Release 12.1.2

SearchSearch

   Contents Contents


Previous Previous

Next Next

WarningBeta Draft: 2012-06-19

Solving Object-XML Impedance Mismatch

Although XML is a common format for the exchange of data, for many applications objects are the preferred programmatic representation – not XML. In order to work at the object-level, the XML data needs to be converted to object form. The mismatch between XML and objects is known as object-xml impedance mismatch.

JAXB allows you to interact with XML data by using domain-like objects. Unlike DOM objects, the JAXB content model provides insight into the XML document based on the XML schema. For example, if the XML schema defines XML documents that contain customer information, your content model will contain objects such as Customer, Address, and PhoneNumber. Each type in the XML schema will have a corresponding Java class.

 


Previous Previous

Next Next

EclispeLink
EclipseLink logo EclipseLink Home • PDF PDF (coming soon)
Copyright © 1997, 2010, Oracle and/or its affiliates. All rights reserved.

SearchSearch

   Contents Contents

Back to the top