On 7/9/07, Tom Desmet <[EMAIL PROTECTED]> wrote: > I used the @SpringBean annotation in combination with the transient keyword. > I thought that all @SpringBean marked objects would get serialized when the > field was not made transient.
The @SpringBean will replace the service with a proxy that knows how to discover the services at deserialization time. The memory footprint should be minimal, though there is some additional memory consumed. http://cwiki.apache.org/WICKET/spring.html Gives more insight into why this is a good thing (tm). > So this is not the case? What will be serialized when the serialization > routine tries to serialized the private members marked with @SpringBean? How > will these objects be reinitialized after a page got deserialized? The proxy does the lookup when necessary. Martijn -- Wicket joins the Apache Software Foundation as Apache Wicket Apache Wicket 1.3.0-beta2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user