Try looking through some of the posts here:

http://www.javablogs.com/Search.jspa?query=struts+webwork

Some of the big problems I have with Struts are:

1)Have to have separate ActionForm classes for every Action. Not only
that, but they have to extend from a base class, not just implement an
interface. That's just poor. WebWork allows your action and form bean to
be the same object (or not, up to you). It's also only based on an
interface, which only has one method to implement "public String
execute()" (although even that is not really necessary in WebWork 2, or
at least it doesn't have to be).
2)Too tied to the web. Every method it seems sends around the
HttpServletRequest and HttpServletResponse. Why? Can't you abstract any
better than that? In WebWork you can still get to those, but you don't
have to know about them (and tie your actions to them) if you don't want
to. You can also do things like use your actions in either a web
container or in a client app by using different dispatchers. In Xwork,
we've made this distinction more real, as Xwork is completely
independent and does not use any servlet stuff. Webwork 2 is built on
top of Xwork, allowing it to do the web stuff it needs.


...nd more stuff, but that's a good start...

Jason

> -----Original Message-----
> From: Hariharan [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, March 29, 2003 11:55 AM
> To: opensymphony-webwork
> Subject: [OS-webwork] Merits of Webwork over Struts
> 
> 
> Hi
>     If any one can come out with some of the merits and demerits of 
>  Webwork over Struts.
> 
> --
> P.Hariharan
> Sip Technologies & Exports Ltd.,
> G4 Elnet Software City, Taramani Chennai -113
> e-mail [EMAIL PROTECTED]         Phone 22541473/74 Ext 314
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to