See The Java serialization algorithm revealed | JavaWorld's Daily Brew