jersey
  1. jersey
  2. JERSEY-1950

Enable Jersey/Guice integration via HK2 Guice Bridge

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: backlog
    • Component/s: extensions
    • Labels:
      None

      Description

      The HK2 Guice Bridge is available, but there may be more work needed in Jersey in order to enable it.

        Issue Links

          Activity

          Hide
          jitterted added a comment -

          I've voted for this, but I also wanted to comment that because of this issue alone, I may be forced to switch to another JAX-RS provider (namely RESTEasy, which works quite well with Guice, thank you very much). Obviously I'd rather not do that, but HK2 is really getting in my way.

          Show
          jitterted added a comment - I've voted for this, but I also wanted to comment that because of this issue alone, I may be forced to switch to another JAX-RS provider (namely RESTEasy, which works quite well with Guice, thank you very much). Obviously I'd rather not do that, but HK2 is really getting in my way.
          Hide
          aldenquimby added a comment - - edited

          @jitterted i was able to get things working by following this HK2 comment. It's not great, but should work until the Jersey guys finally get around to tackling this issue

          Show
          aldenquimby added a comment - - edited @jitterted i was able to get things working by following this HK2 comment . It's not great, but should work until the Jersey guys finally get around to tackling this issue
          Hide
          sugis added a comment -

          I too, after many happy years of Jersey use, had to switch to RESTeasy over this issue

          Show
          sugis added a comment - I too, after many happy years of Jersey use, had to switch to RESTeasy over this issue
          Hide
          natros added a comment - - edited

          I start to feel you pain over this issue. I have a large code base that dependes on jersey 1.x and can't simple switch to Resteasy.

          Show
          natros added a comment - - edited I start to feel you pain over this issue. I have a large code base that dependes on jersey 1.x and can't simple switch to Resteasy.
          Hide
          jkidd added a comment -

          @cowwoc +1
          As long as the support for Guice in Jersey 2.x is so cumbersome, I myself will not be willing to switch to Jersey 2. Using/handling one DI framework is enough, using two DI frameworks is pointing towards spaghetti.

          Show
          jkidd added a comment - @cowwoc +1 As long as the support for Guice in Jersey 2.x is so cumbersome, I myself will not be willing to switch to Jersey 2. Using/handling one DI framework is enough, using two DI frameworks is pointing towards spaghetti.

            People

            • Assignee:
              Unassigned
              Reporter:
              jwells
            • Votes:
              45 Vote for this issue
              Watchers:
              45 Start watching this issue

              Dates

              • Created:
                Updated: