ction class="package-description" id="package-description">
<div class="block">High-level interfaces and annotations used to create RESTful service resources. For example:

 <pre>
 &#064;Path("widgets/{widgetid}")
 &#064;Consumes("application/widgets+xml")
 &#064;Produces("application/widgets+xml")
 public class WidgetResource {

     &#064;GET
     public String getWidget(&#064;PathParam("widgetid") String id) {
         return getWidgetAsXml(id);
     }

     &#064;PUT
     public void updateWidget(&#064;