I would use the serialization-registration element in the cache.xml in both the client and server. This will regiter the instantiators before the application does any operations.
<serialization-registration> <instantiator id="40"> <class-name>com.me.MyClass</class-name> </instantiator></serialization-registration>
Barry