F
Francesco
Hi all,
suppose I have an airline web selling ticket application.
This is the web flow:
-The user chooses destinations & date
-The user chooses seats
-The user confirms to buy
If it's NOT required to persist itineraries until the user confirms to
buy,
can this be done ONLY with Session Beans ?
I think that there aren't cuncurrency problems because even if two
persons will book the same flight, they'll get different sequence Id
(if the sequence is generated by the DataBase).
I think the worst scenario is if two person book the last seat at the
same time, one will get an error.......
What do you say to it ?
Thanks
Francesco
suppose I have an airline web selling ticket application.
This is the web flow:
-The user chooses destinations & date
-The user chooses seats
-The user confirms to buy
If it's NOT required to persist itineraries until the user confirms to
buy,
can this be done ONLY with Session Beans ?
I think that there aren't cuncurrency problems because even if two
persons will book the same flight, they'll get different sequence Id
(if the sequence is generated by the DataBase).
I think the worst scenario is if two person book the last seat at the
same time, one will get an error.......
What do you say to it ?
Thanks
Francesco