jax-rs-spec
  1. jax-rs-spec
  2. JAX_RS_SPEC-290

Spec must be clear about the fact that JAX-RS on Java EE enforces underlying Servlets 3.0 and Autoconfiguration

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1
    • Fix Version/s: ice box
    • Component/s: server
    • Labels:
      None
    • Environment:

      Jersey 2.0 M08-1, JAX-RS 2.0 M12, JRE 1.7.0_07

      Description

      The JAX-RS 2.0 spec should clearly say that when deploying to a Java EE container independent of the actual technology it is using no configuration is required by the application programmer or developer, but an auto-scanning mechanism MUST be applied by the Java EE container (even if that one is NOT based on Servlet 3.0). That is the only way to guarantee WORA in Java EE, since Java EE enforces Servlets, but does not enforce JAX-RS to base on Servlets. The spec currently only says how to deploy on Servlets but does not mandate Servlets itself. This unfortunately leaves room for implementations that are provided by Java EE containers, but that will not base on Servlets.

        Activity

        Hide
        Marek Potociar added a comment -

        Deferring for future re-evaluation. Currently only official supported EE deployment model is on top of a Servlet container.

        Show
        Marek Potociar added a comment - Deferring for future re-evaluation. Currently only official supported EE deployment model is on top of a Servlet container.
        Hide
        mkarg added a comment -

        Maybe you misunderstood my intention. All I want to reach is that JAX-RS 2.0 clearly says that a Java EE container MUST support JAX-RS on top of Servlet 3.x, and any other possible support of JAX-RS is only additional.

        Show
        mkarg added a comment - Maybe you misunderstood my intention. All I want to reach is that JAX-RS 2.0 clearly says that a Java EE container MUST support JAX-RS on top of Servlet 3.x , and any other possible support of JAX-RS is only additional .

          People

          • Assignee:
            Unassigned
            Reporter:
            mkarg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: