Timo Rantalaiho schrieb:
On Fri, 06 Feb 2009, Andreas Petersson wrote:
so, im using wicket together with guice for DI.
i really wondered that the correct approach is here.

http://wicketstuff.org/wicket13/guice/

http://cwiki.apache.org/WICKET/wicket-guice-and-ibatis-example.html

Best wishes,
Timo
hi timo, thanks for the links.

well, i've modeled my application after reading the mentioned example.

from Wicket, Guice and Ibatis example:

public class MyPage extends WebPage {
        @Inject
        protected MyDao myDao;


-------
i wonder: myDao is most likely not serializable.
WebPage is. WebPage should get serialized. so why the heck does this not throw an error? what kind of magic is going on here?




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to