Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts advantages over other frameworks

 
Ashish Anil Khadilkar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please explain me what are the advantages of struts over other type of framework.I know three advantages 1) struts is open source. 2)in struts, there is separation of application logic from business logic ,so someone wants to chane the view he can do that without changing the business logic.3)There is only one servlet (Action servlet) which works as controller and calls the view depends upon the response.
If any more informations or suggestions are welcome .
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I kind of disagree on all three counts.
1) struts is open source.

Offhand I can't think of a single framework that I might compare Struts with that is not open source; JSF maybe? Can you give an example?

2)in struts, there is separation of application logic from business logic

Are there frameworks that don't do this?

3)There is only one servlet (Action servlet) which works as controller and calls the view depends upon the response.

I don't much care whether the frameworks needs 1 or 10 servlets to accomplish its work. I suppose that fewer is better, but it doesn't really make a difference in deciding which one to use. Besides, other frameworks, like Stripes, also get by with a single servlet.
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure that Struts has any technical advantages over any other framework...though I guess we would have to figure out if you mean Struts 1.x or Struts 2.x. Struts 1.x has been around a long time and there are loads of developers with experience. Struts 1.x is also very well documented.

- Brent
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic