Self Check

Drag the components of JAXB architecture (at left) to the appropriate description.

Validation A tool in JAXB that maps given schema declarations into corresponding Java interfaces and classes that implement the interfaces.
Marshalling The process of reading contents of an XML document and creating Java objects.
XJC The process of mapping Java object contents into XML contents.
Unmarshalling The process that ensures Java objects follow the constraints defined by XML schema.

The correct answer is:

XJC A tool in JAXB that maps given schema declarations into corresponding Java interfaces and classes that implement the interfaces.
Unmarshalling The process of reading contents of an XML document and creating Java objects.
Marshalling The process of mapping Java object contents into XML contents.
Validation The process that ensures Java objects follow the constraints defined by XML schema.