aspose file tools*
The moose likes Struts and the fly likes struts advantages over other frameworks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts advantages over other frameworks" Watch "struts advantages over other frameworks" New topic
Author

struts advantages over other frameworks

Ashish Anil Khadilkar
Greenhorn

Joined: Jul 13, 2006
Posts: 18
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
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
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.


Ping & DNS - my free Android networking tools app
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
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
 
wood burning stoves
 
subject: struts advantages over other frameworks