Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

design patterns doubt  RSS feed

 
geeta vemula
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the diffrence between front controller and mvc? how we can distinguish both of them?

thanks,
geeta
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The FrontController helps adapting the MVC pattern.

MVC means ModelViewController, hence separating Model, View and Controller.

In Struts, the FrontController intercepts all requests, forwards to the appropriate models which are also separated from the view layer.
 
Chinmaya Chowdary
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Geeta. See Peabody notes on design patterns.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!