title: How to configure CXF in TomEE
body: <p>Is it possible to override settings in TomEE for the embedded CXF JaxRS container? I've been trying to integrate my own in-interceptor for handling rouing of JaxRS services.</p>
  
  <p>What I can't seem to do is get TomEE to load the interceptor when starting my service. </p>
  
  <p>I've read a bunch of stuff that says that I should be able to configure the CXF stuff in TomEE by adding &lt;pojo-deployment&gt; to an openejb-jar.xml file in either META-INF or WEB-INF. When I try using this approach, my interceptor never gets called.</p>
  
  <p>I've also seen references that state that TomEE uses tomee.xml to replace openejb-jar.xml, so I tried to do the pojo-deployment stuff there, but then I get an XML parse error because tomee.xml doesn't seem to understand the pojo-deployment tag.</p>
  
  <p>Can someone point me to some decent docs or better yet a small example of configuring CXF in TomEE?</p>
  
  <p>Thanks</p>