Application Overview
This sample application demonstrates a simple order system which can get, delete, and edit resources using RESTful Web services. This web service is exposed as a Servlet in the Geronimo application server. See RESTful Web services for more information on the concept.
Application contents
The restfulorder-javaee6 application is deployed as a WAR to the application server. The overview of the structural content of the WAR file is given as follows.
|-restfulorder-javaee6.war +-rest +- restfulorder +-WEB-INF +- web.xml +- classes +- org.apache.geronimo.samples.javaee6.restfulorder +- META-INF +-META-INF
The org.apache.geronimo.samples.javaee6.restfulorder
package consists of the following files.
+- org.apache.geronimo.samples.javaee6.restfulorder +-service +-config +-converter +-entities +-JPASessionBeans
where,
- The service folder contains the resource classes of the RESTful application.
- The config folder contains the servlet class that extends
javax.ws.rs.core.Application
. - The converter folder contains Java Architecture for XML Binding annotated classes to support the processing of XML in requests and responses.