Hi
Please can you comment on my locking schema:
1. RemoteDataInterface extends DataInterface
2. RemoteData class implements RemoteDataInterface extends UnicastRemoteObject
3. RemoteData class has a reference to Data class.
4. Added in RemoteData a method called connect() added in DataInterface,RemoteDataInterface, the method is used to
connect to either local or remote database by a client ConnectionFactory. This method creates an entry on the server singletion ConnectionManager which has hashmap in which association between
client
thread and remoteData class is made.
5. The RemoteData class also has reference to singleton Lock Manager and locks and unlocks where implemented without signature change. And has another HashMap to (RecordNo,getConnection()).The getConnection returns the association between current thread and RemoteDataInstance.
Please is this design correct and agreeable please please comment on this i have to decide this before i proceed
Regards
Farouk