• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

2 leg/segment route

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

I have one doubt. If you are travelling from Milwaukee -> Orlando and let say your flight consist of 2 leg/segment i.e from Milwaukee -> Chicago and then from Chicago -> Oralando then how you will handle this in search result scenario

1) Combine 2 leg as one selection for the user
2) Let user customize his route by selecting any flight from Milwaukee -> Chicago and then from Chicago -> Orlando

Also this will require more then a normal VO design patter as return value to the client.. as your result can be combination of multiple flights leg. What design pattern is best suited for this scenario?
I think of Value Object Assembler but just thinking how then it will be rendered on the presentation side

Thanks,
Shabbir
 
Shabbir Kothawala
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey guys can you please help me as leg/segment is confusing me a lot and whenever I start I again come back to questions related to leg/segment

Thanks,
Shabbir
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic