File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Unpaid itineraries must be saved ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Unpaid itineraries must be saved ?" Watch "Unpaid itineraries must be saved ?" New topic
Author

Unpaid itineraries must be saved ?

Marta De rossi
Greenhorn

Joined: Sep 22, 2006
Posts: 12
Before submitting the work I read again my work and I have a terrible doubt.

There's a sentence in the Prepare itinerary "Customer not logged" case which says that itineraries are saved before confirmation.

I will not say more because I don't want to discover too much of the assignment.

My question is: is it possible to argue that an Itinerary is saved WITHOUT actually assignment of the Seat ?

This has a big impact on the System because if seats are assigned ALSO for unpaid itineraries, it's compulsory to use Entity Beans because there are cuncurrency problems which can hardly be solved just with Session Beans.

What do you say to it ?
Thanks
Marta
Alok Sharma
Greenhorn

Joined: May 17, 2004
Posts: 16
You dont need to save the itinerary into Database until it is paid.
Before call to pay itinerary, customer need to log in.

So the itinerary could be prepared and remain in session.When customer wants to pay then execute the log-in process and after that get the credit card/reward info from cutmoer.

If the payment is approved then book the seat,save the itinerary and show confirmation screen.

Keep the seat booking and payment in one transaction so that if seat got booked while taking payment info then payment should be reversed.
ManojKumar Unnikrishnan
Ranch Hand

Joined: Oct 10, 2006
Posts: 32
Hi,
I guess you meant if seat is not booked then payment must be reversed.
But as someone had mentioned if someone takes a longer time to make a payment for the prepared itinerary he would lose his seat.


Systems Analyst,JCP
ManojKumar Unnikrishnan
Ranch Hand

Joined: Oct 10, 2006
Posts: 32
Hi,
I guess you meant if seat is not booked then payment must be reversed.
But as someone had mentioned if someone takes a longer time to make a payment for the prepared itinerary he would lose his seat.
Karan Shah
Ranch Hand

Joined: Feb 02, 2006
Posts: 35
Hi,

You can't save unpaid itinerary until it must confirmed by payment & to make a payment customer have to logging.

regards,
Dharmesh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Unpaid itineraries must be saved ?
 
Similar Threads
saving unpaid itinerary
Part II questions
unpaid itinerary once again
unpaid itinerary
Unpaid Itinerary...again