Does this look ok?interface DB - provided by Sunclass Data implements DB - provided by Suninterface DataClient - will have all the methods of DB, except lock/unlockclass DataAdapter implements DataClient - threadsafe wrapper class for Data. holds an internal reference to a Data object, wraps modification calls between lock and unlock calls.
interface DataRemote extends DataClient, Remote - the remote objectclass DataRemoteImpl extends UnicastRemoteObject, implements DataRemoteclass DataConnector - client-side class that determines whether to return a new DataAdapter instance (for local mode), or a reference to the existing remote object (for network mode)class DataRemoteObjReg - creates and registers the remote object on the server.
Does this look ok? I've never done RMI before, or anything network-related for that matter. It's kinda confusing for me.
[ August 19, 2003: Message edited by: Noah Le ]