Using Serialization in Java is pretty simple. If you have some object you would like to serialize, you just make it implement the Serializable interface. Then, you can use the ObjectOutputStream to store that object to a file or send it to some other machine. All non-transient and non-static fields will be serialized and even [...]