Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is solution to change seat status back to available

 
rose deng
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

My design decision for unpaid itenerary is put them in a stateful session bean 'shopping cart'. In the case the user close the browser or session time out before user pay the itenerary, then we need to change the reserved seat status back to available.

How to deal with this? My thinking is put those logic in ejbRemove, but seems not very good, since it's hard to handle the senario when the update seat status failed.

Would like to hear your opinion. Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic