JAX-RS 2.0 integration with Atom

JAX-RS 2.0 can use Apache Abdera to add Atom support.

You can register the following Apache Abdera-based providers with a JAX-RS endpoint and use resource methods to explicitly deal with Abdera Feed or Entry classes:
  • Apache Abdera-based Feed provider: net.wasdev.wlp.sample.abdera.jaxrs.atom.AtomFeedProvider
  • Apache Abdera-based Entry provider: net.wasdev.wlp.sample.abdera.jaxrs.atom.AtomEntryProvider
Note: Both AtomFeedProvider and AtomEntryProvider support a formatted Output property.

Now the JAX-RS 2.0 sample on GitHub supports both Maven and Gradle. The online instruction on GitHub also shows you how to use commands or WebSphere Development Tools (WDT) for Eclipse to build or test Liberty sample. For more information, see https://github.com/WASdev/sample.abdera.jaxrs.

Note: Apache CXF offers you other ways of integrating JAX-RS 2.0 with Atom. For more information, see https://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-Atom.