While reading through their documentation, I found the following interesting statement from Spring's online documentation:
It always interesting to hear the different philosophies and ideas that went into the development of a web framework and hear how their developers feel about other similar frameworks.
Compared to WebWork, Spring has more differentiated object roles. It supports the notion of a Controller, an optional command or form object, and a model that gets passed to the view. The model will normally include the command or form object but also arbitrary reference data; instead, a WebWork Action combines all those roles into one single object. WebWork does allow you to use existing business objects as part of your form, but only by making them bean properties of the respective Action class. Finally, the same Action instance that handles the request is used for evaluation and form population in the view. Thus, reference data needs to be modeled as bean properties of the Action too. These are (arguably) too many roles for one object.
Related Links

0 comments:
Post a Comment