Mike Mitchell wrote:Hi Lukas,
Is the A class meant to suggest a possible solution?
Yes, but Chinmaya said that there was no guarantee that container will invoke that methods.
Using listener will be better
.
What do you think?
Static variables are not the part of serialization - they are class variables, not instance variables. But I explicitly write that value to the stream and then I read it back