How to integrate Guice 2 into Wicket?

Posted by deamon on Stack Overflow See other posts from Stack Overflow or by deamon
Published on 2010-06-04T08:31:37Z Indexed on 2010/06/06 23:22 UTC
Read the original article Hit count: 383

I want to use Guice 2 with Wicket 1.4. There is a "wicket-guice" package, which uses Guice 1. Can someone give me an example how to configure Wicket to use Guice 2 for injection (with Maven).

As you can see blow, I've found a solution, but I wonder, if it would be better to use Guice Servlets and register the whole Wicket Application as a ServletFilter with Guice. But I think this would conflict with wickets object creation strategy.

© Stack Overflow or respective owner

Related posts about java

Related posts about maven-2