• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Itinerary Cart creation

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am new to this site and i am not sure whether it makes sense to ask this type of question,but need u r help.

I know i am asking a design specific question which i need to decide but slightly confused. In the prepare itinerary use case when should i create the Itinerary cart, is it after customer selecting the seats or before.?

I am under the impression that once customer selects the flights
the following sequence will happen
customer->controller->delegtate->statelessbean->dao--.creates-seatvo and
i use seatvo for the selected flights for the customer to select the seats and once the customer selects seat ,i am planning to create a Itinerary cart(SFSB).Is this correct?

Can i lock the seats once customer reserves them and release the lock based on payment is successful or not and change the status.
 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

SFSB makes sense because it is the blueprint recomendation. The user probably will make many requests to the server and may select and desselect flights, so the shopping cart must be preserved.


Cleuton Sampaio (Rio de Janeiro, Brazil)
SCJP, SCBCD, SCWCD, SCEA (I)
 
It is difficult to free fools from the chains they revere - Voltaire. tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic