Hi Paul,
As Frans suggested, the
Adapter Pattern is one solution to this problem.
Since I don't like one word answers to questions, here is
a little more detail:
In this case, you could have an interface that looks similar to the supplied Sun interface however all it's methods do throw RemoteException. A class that implements this interface could be extremely simple: it would just call the relevant methods of the Data class - in effect,
adapting the interface to the format you require.
I have still kept this vague. Have a think about it, and come back with further questions as required.
Regards, Andrew