RESTful Services

There are different ways to build RESTful services with CXF.

  1. JAX-RS: CXF implements JAX-RS 2.0 (JSR-339) and JAX-RS 1.1 (JSR-311): Java API for RESTful Web Services. This provides a standard way to build RESTful services in Java.
  2. JAX-WS Provider and Dispatch: It is possible to create RESTful services with the JAX-WS Provider and Dispatch APIs.
  3. HTTP Binding: The HTTP binding provides a flexible way of creating resources and mapping them to operations in your service. This can currently be done via annotations or a convention based mapping.
    Note : HTTP Binding has been removed from CXF 2.6.0.