My understanding is a little different... > > explain about the Webwork Model Components. > > As I understand it, WebWork "model" components are actually > composites, build through a stack, called the "ValueStack." > Models are implementations of "Action," often extensions of > "ActionSupport," and follow ordinary JavaBean semantics.
I don't picture the "model" as something that WebWork provides. The model is actually your domain model implementation. It's the _real_ implementation of your application, not dependent on any web framework (or any other presentation framework for that matter). Sometimes the model is built with EJB's, sometimes with POJO's, etc. > > Webwork View Components. > > One of WebWork's strengths is that view components are > entirely up to the user. If you'd like to use JSP, that's > fine. If you'd like to use Velocity, that's all right as > well. If you'd like to use GUI components, that's easily > accomplished. If you'd like to use a servlet (why?), I > imagine that'd not be difficult either. I would probably include the ValueStack here. I see it as more of a helper to the view components. > > Webwork Controller Components. > > WebWork uses a dispatcher as a Controller. I haven't done > much with this, as it's a fairly workable black box; servlets > are provided to give you easy access and use of a controller > (for JSP and Velocity - the Velocity servlet doing a touch > more work to store the valuestack components into the > velocity context), and non-web dispatchers are easy to work > with as well, I'd imagine. IMO, the Action classes are extensions of the controller. They generally should not contain real business logic, but rather they translate requests from the user to calls in the model (or business layer, if it's separate). They mediate between the view and the model. Joe ------------------------------------------------------- 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