I am using LockManager for implementing lock/unlock methods. My remote object has an instance of LockManager so that remotedataaccess can call these methods. Is this design right? or LockManager should not be with Connection obj? pl help me.
In my design , I create a ConnectionFactory(extends UnicastRemote) object which has an instance of Data and LockManager,return an instance of Connection object(which is remote object also), and ctor for Connection object accept two parameter 1- Data and 2- LockManager Sam
posted 15 years ago
Sam, dont u have a wrapper class for Data in client side, which implements all public methods of Data?