title: Where to include jaxb.properties file?
body: <p>I have REST (Jersey) webservice that makes use of some data objects that are marshalled/unmarshalled to/from XML.  The data objects are in a separate project/jar that the webservice war depends on.</p>
  
  <p>I'm using MOXy as my JAXB implementation since I'm deploying to Glassfish and that's already included.  I know I need a jaxb.properties file to set the JAXB implementation to MOXy with this entry:</p>
  
  <pre><code>javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
  </code></pre>
  
  <p>The question is, should the jaxb.properties file be included in the data object jar or in the webservice war or both?</p>