Implement JAXB-based ATOM content for requests and responses

Before you begin

Configure the JAX-RS application.

About this task

Step 4 towards the goal: Using Atom content in JAX-RS application requests and responses

Procedure

You 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.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 17, 2014 04:48 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-base-iseries&topic=twbs_jaxrs_atomcontent_step4
File name: twbs_jaxrs_atomcontent_step4.html