-1 on declaring things Serializable, especially if this is done everywhere.
Unless there is extensive testing and careful implementation, it is very,
very misleading to advertise this capability.  In addition, there are a
number of formats which are reasonable candidates.  Casting a particular
format in stone as the one true serialized format seems like a big mistake.

If you need to implement a serializable object, it is much better to mark
the field as transient and pick the wire format you really want to use from
a selection of alternatives.

On Thu, May 21, 2009 at 5:47 AM, sebb <seb...@gmail.com> wrote:

> Merely implementing Serializable will prevent the warnings, however in
> general it's not trivial to ensure that serialization works correctly.
>



-- 
Ted Dunning, CTO
DeepDyve

Reply via email to