RESTful Services
There are Currently there are two different ways to build RESTful services with CXF.
- 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.
- JAX-WS Provider and Dispatch: It is possible to create RESTful services with the JAX-WS Provider and Dispatch APIs.
- 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.