A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Architect Certification (SCEA/OCMJEA)
After customer selects seat then stays idle for a minute or two
Manny Pacman Pacquiao
Joined: Oct 04, 2006
Nov 09, 2006 02:25:00
What if after customer selects the seat number then decides to wait for a while before confirming his/her itinerary... other web users might select the same seat number while preparing his/her own itinerary. How should this be handled? Please help.
Joined: Jun 11, 2006
Nov 09, 2006 06:18:00
I think we can leave this to application designers.
As an architect we should not worry about it.
Joined: Oct 16, 2001
Nov 10, 2006 09:44:00
my answer to this question is "optimistic locking".
Joined: Jul 01, 2003
Nov 16, 2006 05:25:00
I believe most airlines over sell seats....and part II doesn't make this clear. make an assupmtion, i think this is enough.
Steve Taiwan<br />SCJP 1.2, SCJD 1.4, SCWCD 1.3, SCBCD 1.3, OCP 8i DBA, SCEA
It is sorta covered in the
JavaRanch Style Guide
subject: After customer selects seat then stays idle for a minute or two
Passed scea part II/III with 100%
How is the segment implemented ?
Unpaid itineraries must be saved ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014