Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Jersey 2 dependency injection and security architecture
posted 5 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? 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)
Boost this thread!
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