On Saturday 15 January 2005 04:32, Antonio Gallardo wrote: > I am also planning to add Read/Write Object methods on some of this > classes.
Serialization is often taken too lightly, and Sylvain and Vadim are both expressing this somewhat indirectly. Serialization *must* be considered a public interface, IF you expect different versions of the application to co-exist with each other, OR that the serialized data is expected to survive from one version to the next. The "public interface" aspect should then be viewed in the exact same light as a public Java interface/class, which Cocoon has plenty. You can not go about and change them friviously, even if the change doesn't break the Cocoon distro itself. Such changes are not happening, not because people can't do them, but because they know how it must be dealt with. Serialization is not a technical problem, it is a people problem (just like the public interfaces) and the best guards against improper use, I think, is education, peer-review and tests. Cheers Niclas
