File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dumb qn: Classes stored in Remote client

 
Nagu Rathina
Ranch Hand
Posts: 31
  • 0
  • 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
  • 0
  • 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.....
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic