• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Jersey 2 dependency injection and security architecture

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?
The happiness of your life depends upon the quality of your thoughts -Marcus Aurelius ... think about this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!