File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts   Vs   WebWorks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts   Vs   WebWorks" Watch "Struts   Vs   WebWorks" New topic

Struts Vs WebWorks

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1428
What are the difference between Struts & WebWorks Frameworks ?
Tony Morris
Ranch Hand

Joined: Sep 24, 2003
Posts: 1608
boolean alwaysTrue = WebWork > Struts * 1000;

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

Tony Morris
Java Q&A (FAQ, Trivia)
Matt Raible
Ranch Hand

Joined: Jan 11, 2001
Posts: 114
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.

Matt<br /> <br />Author: <a href="" target="_blank" rel="nofollow">Spring Live</a> and <a href="" target="_blank" rel="nofollow">Pro JSP</a><br />Weblogs: <a href="" target="_blank" rel="nofollow">Raible Designs</a> <a href="" target="_blank" rel="nofollow">Spring Live Blog</a>
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
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)


blog -
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
related link

Struts VS Webworks

Java Developer, Thailand
I agree. Here's the link:
subject: Struts Vs WebWorks
It's not a secret anymore!