OCPJP 6, OCMJD
OCPJP 6, OCMJD
OCPJP 6, OCMJD
Roel De Nijs wrote:So you'll have to debug: is the unlock-method invoked by the same thread/client/instance as the lock/update method.
Roel De Nijs wrote:So when you choose RMI you can't use thread id as an identifier.
Roel De Nijs wrote:And don't forget that if you use RMI you don't have the guarantee that each request of a given client is handled by the same thread.
OCPJP 6, OCMJD
OCPJP 6, OCMJD
OCPJP 6, OCMJD
Glen Iris wrote:Solution involved much thinking.
Consider Paul's rocket mass heater. |