Externalizable interface seems to be hard to use. Reasons
- Strings in an object can be null. So, I have create and serialize flags to mentioned weather or not to do inReader.readUTF()
- For Java Lists its even more hard.
I am not sure, what is the best way to externalize a java HashMap, since I would know at reading time, how many keys are there and if any value is null.