RESTful Services

There are different ways to build RESTful services with CXF.

  1. JAX-RS: CXF has an implementation of JAX-RS 1.1 and JAX-RS 1.0 (JSR-311): Java API for RESTful Web Services. This provides a more 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.