+

Search Tips   |   Advanced Search

Implement JAXB-based ATOM content for requests and responses

Configure the JAX-RS application.

Step Parent

Use Atom content in JAX-RS application requests and responses

We can represent Atom documents using JAXB annotated objects because the Atom format is based on XML. Therefore, one way to implement a resource method that consumes and produces Atom feeds and Atom entries is to return a JAXB annotated object that uses the Atom model. The JAX-RS library provides an Atom model based on JAXB.


What to do next

Assemble JAX-RS web applications.


Subtopics


Related tasks

  • Use the JAXB-based Atom model for requests and responses