Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-3683

EJB's should be allowed to have annotated interface methods as well as implementation methods

XMLWordPrintable

      Per section 11.2.4:

      In a product that supports EJBs, an implementation MUST support the use of stateless and singleton session beans as root resource classes, providers and Application subclasses. JAX-RS annotations can be applied to methods in an EJB’s local interface or directly to methods in a no-interface EJB. Resource class annotations (like @Path) MUST be applied to an EJB’s class directly following the annotation inheritance rules defined in Annotation Inheritance.

      RESTEasy does not currently scan for the annotations on EJB interfaces when using the CDI integration. This does work when referencing the EJB's via JNDI. However, the same should happen with CDI.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: