Nagu Rathina

Ranch Hand
+ Follow
since Jun 17, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Nagu Rathina

Friends,
In a dialog, I have a text field. I want to have focus in it, whenever the dialog shows. should I have jtxtseat.requesFocus() called before showing or after showing?
sometimes even if the cursor blinks, I am not able to type data w/o clicking on the field once. why is it so?
Help me.
Sam, will u store LockManager.class in remote clients also?
Can I write the essay exam in India? I bought the voucher when I was in Germany?
friends,
I use factory pattern (RMI) to obtain a wrapper of Data class in remote mode. I bind ConnectionFactory to registry which implements ConnectionInterface. it's getConnection() returns RemoteDataAccess object. (RemoteDataAccess implements DataInterface which contains all public methods of Data.) 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.
Michael, could u pl reply me. excuse me if it is a stupid question.....
Sam, dont u have a wrapper class for Data in client side, which implements all public methods of Data?
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.
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.
My client application just waited with a busy cursor...........
Do u call lock() using a seperate thread?
I use LockManager for implementing lock()& unlock. when my GuiController calls lock(recnum), it goes to LockMgr thru RemoteDataAccess. when other client has locked, I call wait(). The thread takes control of everything and my Gui becomes fully white. when lock is released and it comes out of wait(), gui shows everything properly. what should I do to avoid this prob?
Thanks Michael for lock(-1).
should I call Lock(-1) before server is shut down? is it better to do it instead of providing a button for it?
if a client blocks, when it requests for lock, what should I show in the client GUI? Now, it is just hanging....becoz I call wait()...
Lock DB:
In server GUI, I have a button for locking DB. if it is clicked, all clients requesting lock will hang....
Should I remove this button?
In that case, Robin, how will u pass port number from client to server? (if client chooses some port..)
In my application, server binds Connection object to registry running in Registry.REGISTRY_PORT. so it is sufficient for client to provide host of server.
Am I violating requirement?