• 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

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.
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!