aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Flight Selection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Flight Selection" Watch "Flight Selection" New topic
Author

Flight Selection

Shabbir Kothawala
Greenhorn

Joined: Jun 04, 2007
Posts: 24
Hi,

If the statement says "Customer selects the departure flight (not flights) then if the departure/return flight consist of multiple leg and each leg start with new flight then during the departure/return flights list you need to club the route segments and display as single selection (same as in expedia) and when user select flight then route segment flight nos needs to be send to calculate price

The problem will occur during the change itinerary. If you select 2 segment from your departure flight to change from itinerary then you again call itinerary prepare and in alternate flight scenario you may display the flight that have departure time less then 1 segment flight arrival time which is not a valid selection for user and should not be shown

How do you handle this?

Your inputs are highly appreciated

I hope with this question I am not crossing any SCEA privacy law as this in a very generic flight reservation scenario

Thanks,
Shabbir
Shabbir Kothawala
Greenhorn

Joined: Jun 04, 2007
Posts: 24
Can anyone put some ideas on this

Thanks,
Shabbir
Theodore Casser
Ranch Hand

Joined: Mar 14, 2001
Posts: 1902

I don't think, personally, I'm quite understanding what's being asked. I'd be happy to try to venture an answer (even a "I can't answer that") if I understood it better.


Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
Shabbir Kothawala
Greenhorn

Joined: Jun 04, 2007
Posts: 24
Sorry Theodore.. I put the question in quite lengthy way

The question is related to alternate flight. The issue occur when your source to destination consist of multiple segment. The alternate flight step will give the user a choice to select the flight that is within (+)(-) 1 hr of flight departure time and in case of connected flight (-) 1 hr will give an invalid option

That is what I am trying to understand that is alternate flight should only consider (+) 1 hr

Thanks,
Shabbir
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6657
    
    5

I think what is being asked is this - how do you handle the situation where you need to change an Itinerary and the search flight results page gives you flights whose time would not exactly correspond with the user's Itinerary (plus or minus one hour - remember). This is a low level decision and you can document a solution if you want to.

[EDIT]

You beat me to it Shabbir. I was late by 3 minutes. arrhh !
[ June 11, 2007: Message edited by: John Meyers ]

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Flight Selection
 
Similar Threads
2 leg/segment route
Questions on Requirements for Assignment..
about departure flight
my understanding of leg , sector and itinerary...
Route - Flight - Segment again.