Details

    • Type: New Feature New Feature
    • Status: In Progress
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: ice box
    • 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

          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
          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.
          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.

            People

            • Assignee:
              Unassigned
              Reporter:
              robc
            • Votes:
              12 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: