JAXB Terminology

Before you can jump into using JAXB, there are a few terms that you must understand:

  • Marshalling is the act of packaging your XML document and sending it to some destination; the Java object representing the XML document can marshal the contents of the XML document to some destination, such as a file on the file system, for example.

  • Unmarshalling is the act of building an XML Java object from a data source; the data source contains a representation of an XML document (such as an XML document stored on the file system, for example), and unmarshalling is the process of reading that XML document from the data source and constructing its Java representation.

  • Validating is the act of determining whether an XML document properly adheres ...

Get Java™ Web Services Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.