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

Front Controller Vs. MVC

 
Sam Cala
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Someone pls. let me know the difference between MVC & Front controller
 
Ricardo Cortes
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Sam...good luck on the exam. I know you are taking it soon.
2. MVC is used to separate core data access functionality (business logic) from the presentation and control logic. This allows, for example, a web application and a desktop client-server application to use the same data model.
3. Front Controller can actually be used within the context of the MVC model. It allows for the use of a "centralized view management for a Web application in a single object". So, for example, with applications that have "complex navigation" or for Web applications that "require transformations, etc.".
Reference:
http://java.sun.com/blueprints/patterns/j2ee_patterns/front_controller/index.html
 
Sam Cala
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ricardo !!
Its nice to see that you're still here in this forum. Thanks for your wishes, I'm taking the exam this thursday
 
matt yeh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is "Front Controller" design pattern just the "Model II" of JSP architecture?

 
Ricardo Cortes
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No Vincent. MVC (Model View Controller) is also known as the Model 2 architecture and not Front Controller.
Originally posted by Vincent Yeh:
Is "Front Controller" design pattern just the "Model II" of JSP architecture?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic