Dependency injection with Jersey 2.0

后端 未结 8 1108
遇见更好的自我
遇见更好的自我 2020-11-22 01:18

Starting from scratch without any previous Jersey 1.x knowledge, I\'m having a hard time understanding how to setup dependency injection in my Jersey 2.0 project.

8条回答
  •  逝去的感伤
    2020-11-22 02:18

    If you prefer to use Guice and you don't want to declare all the bindings, you can also try this adapter:

    guice-bridge-jit-injector

提交回复
热议问题