aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts   Vs   WebWorks" Watch "Struts   Vs   WebWorks" New topic
Author

Struts Vs WebWorks

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1378
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...

http://www.opensymphony.com/webwork/wikidocs/Comparison%20to%20Struts.html


Tony Morris
Java Q&A (FAQ, Trivia)
Matt Raible
author
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="http://springlive.com" target="_blank" rel="nofollow">Spring Live</a> and <a href="http://www.apress.com/book/bookDisplay.html?bID=256" target="_blank" rel="nofollow">Pro JSP</a><br />Weblogs: <a href="http://raibledesigns.com" target="_blank" rel="nofollow">Raible Designs</a> <a href="http://jroller.com/page/raible" 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)

./pope


blog - InfoQ.com
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
related link

Struts VS Webworks


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts Vs WebWorks