• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts Vs WebWorks

 
Ranch Hand
Posts: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are the difference between Struts & WebWorks Frameworks ?
 
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
related link

Struts VS Webworks
 
reply
    Bookmark Topic Watch Topic
  • New Topic