This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts vs MVC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts vs MVC" Watch "Struts vs MVC" New topic
Author

Struts vs MVC

Raj Jindal
Ranch Hand

Joined: Jan 17, 2003
Posts: 50
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

Joined: Jan 14, 2002
Posts: 47
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

Joined: Nov 09, 2000
Posts: 6450
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts vs MVC