Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design Pattern Confusion

 
Devang Ganatra
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic