Re: Tips: What is the magic Serializable interface does in Java?



Mike Schilling wrote:
The real problem is how seductive it is to let all of the class's fields be serialized (with perhaps a few obviously transient ones marked as such), and not realize until you need to modify the class significantly just how screwed you are.

Yes! This is the danger of Serializable - it is a heavy responsibility. That was my point in the first place.

--
Lew
.