Robert Alden

Greenhorn
+ Follow
since Feb 09, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Robert Alden

Alan

Is your assignment not B&S? (Since delete method is not required on GUI)

Do you need to validate the data in GUI cache against the data in file (besides making sure the record is not deleted), before updating the record ?
In other words, should the client know what data it is overwriting ?


Your mail was helpful.

Best wishes
-Rob
Andrew

So, 'locked' is the temporary state (logical lock) of record while client updates it( which is short period, unless system hangs).

An unlocked record might be booked.

lock ->book(or delete) -> unlock is a valid sequence.

Is that correct?

Thanks
-tapas
Andrew

So, 'locked' is the temporary state (logical lock) of record while client updates it( which is short period, unless system hangs).

An unlocked record might be booked.

lock ->book(or delete) -> unlock is a valid sequence.

Is that correct?

Thanks
-tapas
Guys , give some response
Hello everyone. I need help

My project is B&S. Have question about following specification.



#1 Does is mean, when client#1 books a service and updates record#1 and sits idle for two days, client#2 will block for 2 days if it wanted to book same service (record#1) which is not available?

So, does this 'lock' correspond to
a) booking a record in business sense ? OR
b) getting the object lock of the record (in true Java object lock sense) ?


Is it OK to implement a solution where Client#1 has the ownership of record#1 (i.e booked the record in business sense) , but Client#1 does not
have the java object lock of record#1 ?
e.g. Client#1 synchronizes on a collection which holds reserved(booked) records and uses java object lock on the collection, rather than on the record ?

Thanks in advance.
Rob

[Andrew: Changed wrapping on code so that horizontal scrolling is (hopefully) not required]
[ February 11, 2006: Message edited by: Andrew Monkhouse ]