Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt on choosing the appropriate design pattern

 
muthu kumaran
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found this question in a mock

A web application that handles all aspects of credit card transactions requires a component that would receive the requests and dispatch them to appropriate JSP pages. It should manage the workflow and co-ordinate sequential processing.Centralized control of use cases is prefered . Which design pattern would be best suited to address these concerns ? ( one choice)

1) MVC
2) Business Delegate
3)Front Controller
4)Value Object
5)Facade

I would go for Option C (i.e ) FrontController but MVC also pops up in my mind.

Which one is the appropriate pattern for this case ?

Thanks
Muthu
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess is MVC. Front Controller should rarely dispatch to JSPs, aside from perhaps error pages. And none of the others options could dispatch to JSPs.
 
muthu kumaran
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Marc
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic