friends, I use factory pattern (RMI) to obtain a wrapper of Data class in remote mode. (RemoteDataAccess implements DataInterface which contains all public methods of Data.) . I bind ConnectionFactory to registry which implements ConnectionInterface. it's getConnection() returns RemoteDataAccess object. I have implemented locking thru LockManager... my connection object has an instance of LockManager. RemoteDataAccess calls lock( recno) of LockManager. Should my remote client have DataInterface, ConnectionInterface and LockManager classes stored in it? excuse me. I am new to RMI.
posted 14 years ago
Michael, could u pl reply me. excuse me if it is a stupid question.....