torsten@3: package de.intevation.rest; torsten@3: torsten@3: import javax.ws.rs.ApplicationPath; torsten@3: import javax.ws.rs.core.Application; torsten@3: torsten@3: /** torsten@3: * A class extending {@link Application} and annotated with @ApplicationPath is the Java EE 6 torsten@3: * "no XML" approach to activating JAX-RS. torsten@3: * torsten@3: *

torsten@3: * Resources are served relative to the servlet path specified in the {@link ApplicationPath} torsten@3: * annotation. torsten@3: *

torsten@3: */ torsten@3: @ApplicationPath("/rest") torsten@3: public class JaxRsActivator extends Application { torsten@3: /* class body intentionally left blank */ torsten@3: }