SCJP, SCJD, SCWCD, OCPJBCD
SCJP, SCJD
SCJP, SCJD, SCWCD, OCPJBCD
SCJP, SCJD
lock/unlock operations asynchronous to transactions
and not controlled by the client.
SCJP, SCJD, SCWCD, OCPJBCD
User selects a record for lock -> 1 operation with request/response comes back tothe client then
perform delete/update on the selected record (another request/response)
user unlocks.
how are you handling the clientid issue
SCJP, SCJD, SCWCD, OCPJBCD
Java Rules....<br />SCJP 1.4, SCJD 1.4, busy with SCJWCD, after that SCBCD...
Each request to server is synchronized, create a new instance of Data.
What is the resource?
I resolved this problem by "class-lock"...
The other baddy in my architecture is that client is requesting lock/unlock and the interface required to be implemented does not cater for me to identify who locked the record. as mention above (##).
So your server must be tracking this reference for lock / unlock checking
Are you sending the DataClient object in ever request to the Data Server code for client identification.
How do you handle stale DataClient references ? of crashed/suspended/aborted clients in the Server code ?
SCJP, SCJD, SCWCD, OCPJBCD
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|