 follow principles of
    <a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm">REST (Representational
        State Transfer)</a> architectural style to the Java Platform.</p>

<p>In JAX-RS, Java POJOs can be exposed as RESTful Web resources independent of the underlying technology
    using a high level easy-to-use declarative annotation-based API. E.g.:</p>

<pre>
&#64;Path("widgets/{widgetid}")
&#64;Consumes("application/widgets+xml")
&#64;Produces("application/widgets+xml")
p