Hello,<br><br>I agree that the Memento is probably not necesarry for achieving backwards compatibility.<br><br>Google Protocol Buffers (or ApaPche Thrift) could also be interesting :<br>* better performance than xml encoding/decoding  (not yet tested it myself though)<br>
* you can update the message types without breaking existing code [1]<br>* support for Java, C++ and python<br><br>I will do a benchmark ASAP.<br><br>[1] <a href="http://code.google.com/apis/protocolbuffers/docs/proto.html#updating">http://code.google.com/apis/protocolbuffers/docs/proto.html#updating</a><br>
<br>regards,<br>Maarten<br><br><div class="gmail_quote">On Tue, Feb 24, 2009 at 2:42 PM, Ceki Gulcu <span dir="ltr">&lt;ceki@qos.ch&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
<br>
Thorbjoern Ravn Andersen wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you write custom serializer/deserializer and keep a serialversion you can do whatever you want :)<br>
</blockquote>
<br></div>
Indeed, custom serialization is probably the way to go.<div class="Ih2E3d"><br>
<br>
-- <br>
Ceki Gülcü<br>
Logback: The reliable, generic, fast and flexible logging framework for Java.<br>
<a href="http://logback.qos.ch" target="_blank">http://logback.qos.ch</a><br>
_______________________________________________<br></div><div><div></div><div class="Wj3C7c">
logback-dev mailing list<br>
logback-dev@qos.ch<br>
<a href="http://qos.ch/mailman/listinfo/logback-dev" target="_blank">http://qos.ch/mailman/listinfo/logback-dev</a><br>
</div></div></blockquote></div><br>