title: Java Serialization with non serializable parts
body: <p>I have:</p>
  
  <pre><code>class MyClass extends MyClass2 implements Serializable {
    //...
  }
  </code></pre>
  
  <p>In MyClass2 is a property that is not serializable. How can I serialize (and de-serialize) this object?</p>
  
  <p>Correction: MyClass2 is, of course, not an interface but a class.</p>