• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Vs WebWorks

 
kri shan
Ranch Hand
Posts: 1473
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the difference between Struts & WebWorks Frameworks ?
 
Tony Morris
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
boolean alwaysTrue = WebWork > Struts * 1000;

...but that's just my opinion.
This might help you form your own...

http://www.opensymphony.com/webwork/wikidocs/Comparison%20to%20Struts.html
 
Matt Raible
author
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The main difference (IMO) is you can use your model objects (i.e. Hibernate POJOs) in your view with WebWork. With Struts you have to use ActionForms. Struts has better client-side validation support, but WebWork's validation is more full-featured in its expression syntax.

If you want to compare the code needed to develop in Struts vs. WebWork - you could take a look at AppFuse, which has options for using Struts or WebWork (or Spring MVC) as your web framework.
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think in a way Struts is intrusive, requiring you to code something very according to their "spec".
And also, I ahve read a series about MVC taken completely wrong by Struts (but again I cannot remember the links)

./pope
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
related link

Struts VS Webworks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic