I have started using Jersey 2.27 to develop REST APIs. I could use Jersey-HK2 dependency to have dependency Injection working.
I tried to use Jersey-Guice as DI but it did not work. Is this supported off the shelf ? Has anyone made it work with version 2.27 ? For HK2 - the dependency is Jersey-HK2 , which has the version 2.27. Which is same as Jersey.
<dependency>
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
<version>2.27</version>
</dependency>
But i did not find the jersey-guice of version 2.27. May be it is not supported as of yet in Jersey 2.27. Can anyone point me to any doc ?