This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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 .
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.
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.