posted 19 years ago
Thank you very much!
I thought over and over, and the conclusion is that I never use dead lock cleaner.
Because my design adopt the optimistic lock, i.e. user can't lock a record when selecting a data row in JTable. for update functionality, I envelop the update() and lock() given by instruction, just provide client program a method executeUpdate() that refer to update() and lock(),
and executeUpdate() run at server side, so never occur dead lock situation.
and I don't use cookie, but I read some guideline book, most of them recommend to use cookie to uniquely identify the locking thread, I am not sure my design at this aspect.
best regards!
SCJP1.4 SCJD 2<br />SCEA(In progressing)