A sample Java implementation of thermometer and callers