posted 23 years ago
It actually says that they should use the same class, Data.
The Data class knows how to read and write to the file. So whether the server is acting as a proxy to Data, or the client directly makes calls to Data, they both eventually get funneled through the Data class.
There is no reason to duplicate the same functionality when that code has already been written.
You need to provide an interface that will call the same Data methods, whether it is remotely or local.