view src/main/java/de/intevation/rest/JaxRsActivator.java @ 16:823a417cb8e5

Configured which datasource to use in the project. The datasource is configured as datasource in JBoss.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 26 Apr 2013 13:13:20 +0200
parents 79e1144949d9
children
line wrap: on
line source
package de.intevation.rest;

import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

/**
 * A class extending {@link Application} and annotated with @ApplicationPath is the Java EE 6
 * "no XML" approach to activating JAX-RS.
 * 
 * <p>
 * Resources are served relative to the servlet path specified in the {@link ApplicationPath}
 * annotation.
 * </p>
 */
@ApplicationPath("/rest")
public class JaxRsActivator extends Application {
   /* class body intentionally left blank */
}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)