Infinispan never uses Serializable for its internal classes. We prefer writing an externalizer.