I've read through some of the older topics and have a HUGE headache now. Can someone explain the best way to do this?
I don't understand completely how to use the Unreferenced interface. If there are 2 clients with references to the remote object, but client A crashes, then Unreferenced still wouldn't be called because client B still has a reference to it (the remote object), right? So what's the point? Or is my understanding completely wrong?
Also, to use WeakHashMap you need to keep the
thread name as a key right? Well then if I put the record number as the value, where do I store the freakin' cookie? Or do I have to create another class just to put the recNo and cookie as the value to the WeakHashMap?
Damn, what a headache I have...