Is there some library or tool which allows to serialize object including it's .class
file? So when some application want's to deserialize that object, it can load it's .class
first and than successfully deserialize the object even if that objects class wasn't on the classpath before.
I was searching for such library but couldn't find one. Nevertheless I was able to quickly implement simple case of such serialization library so I think there should be some mature implementation available.