This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Design Pattern Confusion 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 » Java » Servlets
Bookmark "Design Pattern Confusion" Watch "Design Pattern Confusion" New topic

Design Pattern Confusion

Devang Ganatra

Joined: Feb 19, 2008
Posts: 5
What is the exact differance between MVC and Front Controller Design Pattern? I am confused between these two design patterns. In MVC also every request goes throguh Controller Component. Then what is the exact differance between these two.Please reply.
Amit Ghorpade

Joined: Jun 06, 2007
Posts: 2716

I know they seem confusing. But there is a difference that in the Front Controller, there is only one controller component whereas in the MVC there can be more.
Actually the Front Controller can be thought as a variation of the MVC where there is a single controller.
Take a look at Marc Peabody's notes on design patterns.

Hope this helps
[ September 29, 2008: Message edited by: Amit Ghorpade ]

|Asking Good Questions|
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60821

Read this article.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Consider Paul's rocket mass heater.
subject: Design Pattern Confusion
Similar Threads
System.gc() vs Runtime.gc()
what is the differance between Composition and Aggregation?
Difference between Adapter Pattern and Bridge pattern
Factory Method and Builder
some java interview Questions