Versions Compared

Key

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

CXF has an initial implementation of JAX-RS (JSR-311): Java API for RESTfulWeb Services. JAX-RS provides a more standard way to build RESTful services in Java. 0.6 version of JSR-311 API is currently supported.

JAX-RS related demos are located under samples\jax_rs directory (CXF 2.1 only).

...

ProduceMime annotation is used to specify the format of the response. When not available on the method, it's inherited from a class, and if it's not available on the class then it's inherited from a corresponding message body writer, if any. Default value is */*, but it's recommended that some definite value is specified. The same applies to ConsumeMime, only it's message body readers that are checked as the last resort.

...