Previous Step   Previous Step Next Step   Next Step

Implement a resource method using JAXB objects for XML content.

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

About this task

You can use JAXB objects as request entity parameters and response entities with JAX-RS applications. Instead of transforming XML to and from native Java™ types, you can take advantage of using JAXB objects.

Before you begin

Configure the web.xml file for the JAX-RS application.

Supporting information (generally applicable)

What to do next

Assemble JAX-RS Web applications.

Previous Step   Previous Step Next Step   Next Step