• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

struts advantages over other frameworks

 
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 .
 
Rancher
Posts: 43016
76
  • 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.
 
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
 
Whatever. Here's a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic