Hi,
My design is like this:
I have remote server factory witch is handing out remote data instances (one instance per client).
My Data has "clientHasOneLock" instance member variables:
Usage where all other exception are processed in lower layer:
My problem is that I�m not sure about the exception
. It works fine, so far. I�m not getting any deadlocks.
Orphans are no problem since I�m using static WeakHashMap, unreferenced() in my remote Data object.
Each instance of remote Data is like session (one per client) and remembers clients last locked recNo and cookie.
Business logic is on the client side (have to handle lock/unlock there).
I guess this is not very clear. If you have any requests for clarification throw them in my face