I don't know how much of this is news to you, but here goes.
Unmarshalling means moving XML to and an object tree, Marshalling means the reverse. In JAXB, there is an Unmarshaller object and a Marshaller object. The Unmarshaller does validation, the marshaller does not. There is also a way to perform validation anytime you want (programmatically), but I have never used that feature.