Typically it is trickier than this and you don't provide enough info to say one way or another, but you could try and extend the class, having that child implement serializable...it might work but...