On Fri, 06 Feb 2009, Andreas Petersson wrote:
> 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?

Look at what GuiceComponentInjector does (or something it 
calls).

The access to the dao is proxied by a serialisable proxy.
The proxy can be serialised and deserialised without 
problems, and it will access the real dao.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to