Hi..I've read some posts on how the Connection object for each client implements the Unreferenced interface...so that it unlocks "all" the locksthat it currently holds...Here's my problem...in my design..the client can only book one flight at a time..although he/she can enter the number of seats..so they get only one lock at a time..so can i just keep the current lock in an int variable and then unlock that in case the client crashes? Regards, Pallav
I think the key issue here is that "Your user interface should be designed with the expectation of future functionality enhancements". This may mean that a future enhancement could be select a route and book all available seats. This would mean that more than one row would be locked until the seat booking request had been executed.