Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts vs MVC

 
Raj Jindal
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is said that struts is an implementation of MVC. But can anybody tell me that how struts is superior to MVC. why struts is so famous. what are the faclities it provide over MVC.
 
Aneesha Singh
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is said that struts is an implementation of MVC. But can anybody tell me that how struts is superior to MVC.
Struts is a framework. MVC is an architectural design pattern that the Struts Framework (and other Frameworks, proprietary or customised) uses.
The statement that Struts is superior to MVC, I think is unfair, because both are not comparable, one is a design pattern thats a blueprint for implementation, and the second is a flexible implemented web application framework.
why struts is so famous. what are the faclities it provide over MVC.
Of the Model, View and Controller components of the MVC, Struts provides its own Controller component (open source). For the Modelyou could use standard data access technologies, like JDBC and EJB, etc. For the View, Struts works well with JavaServer Pages and other presentation systems, making it a very flexible framework to develop an application around. Especially as it does not have very hard and fast technology restrictions.
It uses standard design patterns, is open source and help on it is widely available.I guess thats why its famous.
You could try http://jakarta.apache.org/struts for more details.
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aneesha,
Welcome to JavaRanch. We don't have many rules here, but one thing we do have is a naming policy. Please edit your display name to comply with this policy. Thanks in advance and we look forward to seeing you around the Ranch.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic