Exclude Less Than Half of the Properties
You can use the @XmlTransient
annotation on the property to exclude it from being written to XML.
Exclude More Than Half of the Properties
If you are excluding a lot of properties then you can specify @XmlAccessorType (XmlAcceessType.NONE)
on the class. This means that only things you explicitly annotate will be converted to/from XML.