Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Struts vs MVC  RSS feed

 
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.
 
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.
 
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.
 
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!