SCJP, SCBCD, SCEA
SCJP, SCBCD, SCEA
The cache will be kept in the business tier, thus it will be available to
both types of clients.
Originally posted by jono:
I think the Catalog in PetStore and the use of POJOs is valid for the search option.
Yes I agree. Use of lightweight classes is recommended. Caching search result based on VLH design pattern is overkill because from usability standpoint user should be able to find what he/she is looking for in first 10/20 Segments (Combination of Legs or Complete 1 way Flight).
I have a related question which is complicating the issue for me:
- I am struggling to define the algorithm used to search for the list of flights satisfying the initial criteria. Is this too low a level?
Yes you are correct. This is complex. It falls under complex subject of Transportation Logistics. It is not simple to define how flight paths would connect with each other to form a segment.
- Assuming it's not, I am assuming that Segment(defined as the end-to-end flight including multiple actual "flights") is only created to facilitate user searches and the System does not predfine segments. Do you agree?
I have a related question which is complicating the issue for me:
- I am struggling to define the algorithm used to search for the list of flights satisfying the initial criteria. Is this too low a level?
Originally posted by Dhiren Joshi:
Deepak
Is it incorrect to give an assumption that implementators would implement the transportation Algorithms. I think its too low level to show the algorithm details in architecture. Justing giving the algorithm in a note would be enough. I just give in a note the algorithm name and say that the developer will implement it at implementation. Is that too little detail do u think ?
Thanks
Dhiren
Originally posted by Josep Andreas:
Deepak,
If you don't use SFSB for search. Do you still use a SFSB (shopping cart) to store the itinerary before payment? or is the unpaid itinerary stored?
thanks,J
Yes, I am planning to save the unpaid itinerary in the database. It is very common in airline industry. Typical reservations done via Travel Agents is kept in hold state for few days without involving payments.