Register / Login
Win a copy of
The Way of the Web Tester: A Beginner's Guide to Automating Tests
this week in the
Jersey 2 dependency injection and security architecture
posted 2 years ago
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?
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?
Spring in Action - Alternatives
"Struts 2 Design and Programming: A Tutorial" question
Wicket in Action - Wicket's friends
How to use Guice in web project?
Dependency Injection in Java