How to make Jersey work with Dagger dependency injection?
You shouldn’t think of it as “how to integrate dagger with jersey”. Figure out how to setup jersey, then once you have that figured out, then you can worry about using dagger. Here’s (very roughly) how I would do it. Create your own implementation of the ResourceConfig class. @ApplicationPath(“/service”) public class MyResourceConfig extends ResourceConfig { … Read more