Hello,
I agree that the Memento is probably not necesarry for achieving backwards compatibility.
Google Protocol Buffers (or ApaPche Thrift) could also be interesting :
* better performance than xml encoding/decoding (not yet tested it myself though)
* you can update the message types without breaking existing code [1]
* support for Java, C++ and python
I will do a benchmark ASAP.
[1] http://code.google.com/apis/protocolbuffers/docs/proto.html#updating
regards,
Maarten
Indeed, custom serialization is probably the way to go.
Thorbjoern Ravn Andersen wrote:
If you write custom serializer/deserializer and keep a serialversion you can do whatever you want :)
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
_______________________________________________