rsukkerd/Parallel-Bug-Fixes — Issue #9: Add serialization support for TestIsolationDataGenerator output
Author: bestchai
Created: 2012-01-20 01:28:52+00:00
State: open

It is easier to serialize Java class instances to a file and read them back in automagically, then to output a text file and write code to parse it manually. The TestIsolationDataGenerator program should take an extra output filename to which the output can be serialized.

For this, leverage Java's built-in Serializable interface for performing the actual serialization. Here are a few references:
http://en.wikipedia.org/wiki/Serialization#Java
http://www.deitel.com/articles/java_tutorials/20050923/IntroductionToObjectSerialization.html
http://www.javapractices.com/topic/TopicAction.do?Id=45
http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html