File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes dumb qn: Classes stored in Remote client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "dumb qn: Classes stored in Remote client" Watch "dumb qn: Classes stored in Remote client" New topic
Author

dumb qn: Classes stored in Remote client

Nagu Rathina
Ranch Hand

Joined: Jun 17, 2002
Posts: 31
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

Joined: Jun 17, 2002
Posts: 31
Michael, could u pl reply me. excuse me if it is a stupid question.....
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: dumb qn: Classes stored in Remote client
 
Similar Threads
Question about ConnectionFactory implementation
posting again...pl help
Design Opinion
RemoteStub class and ClassCastException
trouble having ultiple LockManager instances