Serialization of HttpSessions

Section 7.7.2 of the 2.4 Servlet spec says that developers are not guaranteed that containers will call readObject and writeObject methods on session attributes but are guaranteed that the Serializable closure of their attributes will be preserved. Can someone please explain what this means. If I have implemented serialization on a class using readObject/writeObject am I not able to place objects of the class in the session and know that serialization will work?

[473 byte] By [mdsauera] at [2007-11-26 18:10:10]
# 1
I think that the specification is refering to the servet class itself, not classes you build.MeTitus
Me_Titusa at 2007-7-9 5:42:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
But why would you want serialize you servlet?MeTitus
Me_Titusa at 2007-7-9 5:42:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
I think the wording of the spec is clear that it is talking about the serialization of session attributes.
mdsauera at 2007-7-9 5:42:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...