<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>

MyClass2 is just an interface so techinicaly it has no properties, only methods.  That being said if you have instance variables that are themselves not serializeable the only way I know of to get around it is to declare those fields transient.
ex:
```
```
private transient Foo foo;
```
```
When you declare a field transient it will be ignored during the serialization and deserialization process.  Keep in mind that when you deserialize an object with a transient field that field's value will always be it's default (usually null.)
Note you can also override the readResolve() method of your class in order to initialize transient fields based on other system state.