News

Java employs its own binary serialization ... private void writeObject(ObjectOutputStream out) throws IOException { // Custom serialization code here } private void readObject(ObjectInputStream ...
In this blog post, I look at some simple examples of lightweight persistence with Java serialization. The first code listing is a simple example of persisting data to a serialized file using Java ...