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 Any Design Pattern for pricing  & what to do with Award travel? 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 "Any Design Pattern for pricing  & what to do with Award travel?" Watch "Any Design Pattern for pricing  & what to do with Award travel?" New topic
Author

Any Design Pattern for pricing & what to do with Award travel?

Vinay Singh
Ranch Hand

Joined: Dec 15, 2004
Posts: 174
Hello Friends
I was wonering do we need to implement any design pattern for Pricing mechnaism ? Although the CEO says the pricing is pretty simple , but the designer has to consider the future scenarios i.e " Open for Extension" design principle.
There might be disocunts available on some seasons or to some card holders , so I think we should consider this while designing.
ALso in the use case , Pay for Itinerary it is written that 'customers select award travel'.
Does this mean any discount on ticktes price for just adding the points based on itinerary ?
Vinay


Technical quiz and interview questions   SCJP 6 mock practice test
vu lee
Ranch Hand

Joined: Apr 19, 2005
Posts: 189
Vinays,
I prefer to keep the design simple and delay gratification for additonal features/enhancements which may increase the complication of the application and make the five seconds response time requirement difficult to meet.
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1164
That's the amazing thing nowadays, especially with the internet - we build applications that by definitions evolve. Try to speak with an architect (the one that designs houses ) and let him know that in a year or two you would like to make major changes but you have no clue what they are going to be. Ask him please to design accordingly. I wonder what type of look you are going to get.
The major tool/practice which we have nowadays to deal with this type of requirement is refactoring. How effective it is? � go figure.

BTW, let's face it. writing software against extremely well defined requirements is not as easy task, especially on the internet which is packed with all the new, changing and semi-baked technologies.

-- Dan
[ July 11, 2005: Message edited by: Dan Drillich ]

William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Any Design Pattern for pricing & what to do with Award travel?
 
Similar Threads
Payment
Inconsistencies in pay for itinerary?
unpaid itinerary
Award Travel and integrating the Frequent flier app with the main app
Different payment types