Introduction
The JAX-RS 2.0 specification (JSR-339) mandates the support of CDI and Apache CXF starting from the version 3.0 introduces the initial support of this feature. As the starting point, the emphasis has been done on supporting embedded Jety 8/9 and Tomcat 7/8 containers as primary deployment (though other application servers will be supported in the future).
Architecture and design
At the moment, the integration of Apache CXF and CDI revolves around two key components:
- CXFCdiServlet servlet
- JAXRSCdiResourceExtension portable CDI extension