In this panel of the RESTful Web Services from Patterns Wizard, you specify the resource classes.
This panel is for a simple RESTful root resource class with GET and PUT methods using Java API for RESTful Web Service (JSR-311). This pattern is useful for creating a simple HelloWorld service and wrapper services for invoking WSDL-based web services. If you need a more sophisticated pattern, press the Back button and select the Container-Item or Client Controlled Container-Item pattern.
This panel contains the following fields, which specify the class name, URI, and representation type of the resource.
@Path annotation. By default the Path is "generic." The default Path annotation is therefore @Path("generic").@Produces and @Consumes annotations. The default MIME type is application/xml. Therefore the default @Produces and @Consumes annotations are @Produces("application/xml") and @Consumes("application/xml").java.lang.String.