title: Exclude empty fields from jaxb marshalling
body: <p>I have a POJO which i want to marshall and send as xml, but also to unmarshall the data which is returned from the same webservice. However, there are certain fields in this POJO, which i do not want to send, but which may be in the returned xml from the server.</p>
  
  <p>The problem here is, that if i for instance have an int field called status, and i dont actually set any value for this field (since i dont want to send this field to the server), JAXB still creates a 0 element in the xml.</p>
  
  <p>So my question is: How can i prevent this behaviour, and simply ommit the field, but still be able to read the value of the element that is returned from the server?</p>
  
  <p>Kind regards.</p>