Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-6122

Support Stateless and Singleton EJB as JAX-RS root resource classes, providers and Application subclasses

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 3.0.0
    • 3.0.2
    • javaee6
    • Security Level: public (Regular issues)
    • None

    Description

      From JAX-RS spec 1.1

      In a product that also supports EJB, an implementation MUST support use of stateless and singleton
      session beans as root resource classes, providers and Application subclasses. JAX-RS annotations
      MAY be applied to a bean's local interface or directly to a no-interface bean. If an Exception-
      Mapper for a EJBException or subclass is not included with an application then exceptions thrown
      by an EJB resource class or provider method MUST be treated as EJB application exceptions: the
      embedded cause of the EJBException MUST be unwrapped and processed as described in section
      3.3.4.

      Now geronimo recognize javax.ws.rs.URIinfo as EJB resource in a stateless EJB, so failed to get Uriinfo

      Run Restfulorder samples can give more details.

      Attachments

        Activity

          People

            xuhaihong Haihong Xu
            viola.lu viola.lu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: