Details
-
Bug
-
Resolution: Done
-
Major
-
4.0.0.Final
-
None
Description
We recommend the class-style activation of JAX-RS applications
/** * 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 */ }
JBDS should offer this as the default approach.
Attachments
Issue Links
- is related to
-
JBIDE-13310 New RESTful Webservice wizard should generate empty Application impl
- Closed