Transformation of REST and JAX-RS elements in UML models into JAX-RS implementation code

Depending on the profiles that are applied in the source UML model, when you run a UML-to-Java transformation with the JAX-RS UML-to-Java5 extension enabled, it transforms UML representations of Representational State Transfer (REST) elements, and optionally Java™ API for RESTful Web Services (JAX-RS) elements, into JAX-RS implementation code in a dynamic web project.

Valid transformation sources

You must specify a UML model as the source of the transformation.

If you select a model or package in the Project Explorer view instead of using the Transformation Configuration editor, the model or package that you select overrides the source model or elements that you specify in the transformation configuration.

Valid transformation targets

You must specify a Java project that has a web.xml file in the WEB-INF folder as the target of the transformation.