Meaningless Drivel is fun!*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes doubt on choosing the appropriate design pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "doubt on choosing the appropriate design pattern" Watch "doubt on choosing the appropriate design pattern" New topic
Author

doubt on choosing the appropriate design pattern

muthu kumaran
Ranch Hand

Joined: Oct 26, 2004
Posts: 56
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

Joined: Feb 05, 2003
Posts: 4727

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.


A good workman is known by his tools.
muthu kumaran
Ranch Hand

Joined: Oct 26, 2004
Posts: 56
Thanks Marc
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: doubt on choosing the appropriate design pattern
 
Similar Threads
Database connection
MVC - A PATTERN OR A FRAMEWORK?
diff between architectural pattern,design pattern and architecture
Is MVC Pattern/Framework
design patterns to separate the task of writing the GUI screens and business logic