Details

    • Type: New Feature New Feature
    • Status: In Progress
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: None
    • Labels:
      None

      Description

      As described in the JAX-RS 2.0 JSR (http://jcp.org/en/jsr/proposalDetails?id=339):

      JAX-RS 1.1 was defined before JSR-330 was specified and as a result does not utilize 330 annotations, such as @Inject, as effectively as it could. This JSR will specify closer integration with 330 annotations that may potentially render some existing annotations in JAX-RS, such as @Context, deprecated or redundant.

        Issue Links

          Activity

          robc created issue -
          Marek Potociar made changes -
          Field Original Value New Value
          Fix Version/s 2.0 [ 14715 ]
          robc made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          Marek Potociar made changes -
          Assignee Marek Potociar [ m_potociar ]
          Marek Potociar made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          Marek Potociar added a comment -

          DI integration proposal drafted: http://java.net/projects/jax-rs-spec/pages/DI

          Show
          Marek Potociar added a comment - DI integration proposal drafted: http://java.net/projects/jax-rs-spec/pages/DI
          Marek Potociar made changes -
          Link This issue is related to JAX_RS_SPEC-67 [ JAX_RS_SPEC-67 ]
          Marek Potociar made changes -
          Link This issue is related to JAX_RS_SPEC-72 [ JAX_RS_SPEC-72 ]
          Marek Potociar made changes -
          Link This issue is related to JAX_RS_SPEC-35 [ JAX_RS_SPEC-35 ]
          Hide
          Marek Potociar added a comment -

          There are some interaction issues connected to this and we need to take more time to resolve them. Deferring to a future release.

          Show
          Marek Potociar added a comment - There are some interaction issues connected to this and we need to take more time to resolve them. Deferring to a future release.
          Marek Potociar made changes -
          Assignee Marek Potociar [ m_potociar ]
          Fix Version/s ice box [ 14716 ]
          Fix Version/s 2.0 [ 14715 ]
          Hide
          reza_rahman added a comment - - edited

          In a Java EE environment, it might also be very useful to be able to do this:

          @Inject
          Client client;

          Or this:

          @Inject @Target("http://....")
          WebTarget target;

          Do let me know if anything needs to be explained further - I am happy to help.

          Please note that these are purely my personal views and certainly not of Oracle's as a company.

          Show
          reza_rahman added a comment - - edited In a Java EE environment, it might also be very useful to be able to do this: @Inject Client client; Or this: @Inject @Target("http://....") WebTarget target; Do let me know if anything needs to be explained further - I am happy to help. Please note that these are purely my personal views and certainly not of Oracle's as a company.
          Santiago Pericas-Geertsen made changes -
          Fix Version/s 2.1 [ 16402 ]
          Santiago Pericas-Geertsen made changes -
          Fix Version/s ice box [ 14716 ]
          Pavel Bucek made changes -
          Tags 2.1-candidate

            People

            • Assignee:
              Unassigned
              Reporter:
              robc
            • Votes:
              14 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: