Tuesday, February 13, 2007

Transient Objects

Am addicted to XML serialization and deserialization via XStream. It rocks!

One thing to watch out if you are using dependency injection (AspectJ) is to make sure your helper objects are declared transient. Else XStream will complain of stack overflow. So save yourself from countless omit field statements and just declare those injected objects as transient.


dev nox
-- swimming in a sea of XML data...

No comments: