Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jersey 2 dependency injection and security architecture  RSS feed

Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm developing a system and I'm trying to figurate out which will be the best architecture for it. I want to use the last version of JaxWS, Jersey 2.x and Google Guice 3 for dependency injection.

I know that Jersey 2 have DI integration with HK2 and there is a bridge to make it work with Guice.

So my questions goes as follow: Is there a native integration between Guice 3 and Jersey 2? HK2 is here to stay? should I change to HK2 instead of guice?

I also want to add security support with Apache Shiro but I'm not sure if HK2 is compatible with it. I know guice is.

What architecture do you recoment?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!