Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix minor redundancy

RESTful Services

There are Currently there are two different ways to build RESTful services with CXF.

  1. JAX-RS: CXF has an initial implementation of implements JAX-RS 2.0 (JSR-339) and JAX-RS 1.1 (JSR-311): Java API for RESTfulWeb RESTful Web Services. This provides a more standard way to build RESTful services in JAVAJava.
  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 annatotations annotations or a convention based mapping.
    JAX-WS Provider and Dispatch: It is possible to create simple RESTful services with the JAX-WS Provider and Dispatch APIs. It is not as flexible as the HTTP binding, but does use standard APIs Note : HTTP Binding has been removed from CXF 2.6.0.