Originally posted by ak pillai:
Transient variables cannot be serialized.
Actually, transient fields can be serialised. But they will not be serialised by the default serialisation mechanism. If you replace or extend the default serialisation mechanism, you can serialise any data you like.