• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dumb qn: Classes stored in Remote client

 
Nagu Rathina
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Nagu Rathina
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michael, could u pl reply me. excuse me if it is a stupid question.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic