cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Re: svn commit: r124693 -
Date Sat, 15 Jan 2005 14:44:54 GMT
On Saturday 15 January 2005 05:56, Antonio Gallardo wrote:

> now I am confused. 

Sorry :o(

> Need I revert the changes? 

Look at your use-case; Will the serialized data be used by more than one 
versioned instance of Cocoon (for instance, RMI between two Cocoons), OR 
persisted to survive an upgrade of a Cocoon version?

If not, then I suggest that no need to bother with serialVersionUID nor 
readObject/writeObject (except for that fact that both makes serialization 
faster).

If so, you need to make an active effort to keep serialization compatibility, 
just like a public interface/class elsewhere.


Does this answer it?


Cheers
Niclas

Mime
View raw message