i would be careful about using transient since you will have to implement null checks anytime you access that field.

-Igor


On 7/18/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
On 7/18/06, Steve Moitozo <[EMAIL PROTECTED]> wrote:
> Thanks for the quick response. Do you know if there's a way to tell Java
>  which parts of an object are vital during serialization and which can
> be ignored.

yep, the transient keyword. Transient fields will not be serialized
(and thus null after serialization). Useful for lazy init fields.

> Am I correct in assuming that if I do not correct this my app will
> continue to work in a single JVM environment but it will probably not
> work in a clustered environment?

Correct, if you use the default serialization mechanism. Fix is easy
usually. Just let those classes implement Serializable.

Eelco

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to