A more puristic form of the
example given before
is located in
sparkAdaCodeLecture/sect6/example6-19-wrapperClassForIOwithExample/
Look at README.txt file for details.
Example of a tiny critical system is located in
sparkAdaCodeLecture/sect6/example6-21-exampleOfSmallCriticalSystem/
Look at README.txt file for details.
An older version of these instructions can be found here