Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

With Jetty 8/9 it possible to create fully embeddable REST / JAX-RS servers without web.xml or WAR files involved. For Apache CXF applications which are using CDI 1.1, the CXFCdiServlet servlet should be used as a starting point. Following example demonstrates the necessary configuration points in order to create embedded  embedded Jetty 8/9 instance. As a CDI 1.1 implementatoinimplementation, JBoss Weld 2.0 is being used.

...