Design Goals and Overview
In a standard Java EE web application, the client will typically submit information to the server via a web form. The information is then either handed over to a Java Servlet which processes it, interacts with a database and produces an HTML-formatted response, or it is given to a JavaServer Pages (JSP) document which intermingles HTML and Java code to achieve the same result. Both approaches are often considered inadequate for large projects because they mix application logic with presentation and make maintenance difficult.
WebWork attempts to understand existing frameworks' limitations and works to eliminate them. It supports type conversion, continuations, and interceptors. WebWork also supports multiple-view technologies like JSP, velocity, and FreeMarker.
Ultimately, WebWork has been designed and implemented with a specific set of goals, that are very important for its users. They are as follows:
- Web Designer never has to touch Java code
- Create multiple "Web Skins" for an application
- Change Look and Feel
- Change Layout on a given Web Page
- Change Flow among Web Pages
- Move *existing* data elements from one page to another
- Integrate with various backend infrastructures
- Reuse components
- Perform internationalization (i18n) of a web application
- Keep the API small and to the point
- Ability to learn WebWork fast, by making all the fancier features optional
- Allow the developer to choose how to implement as much as possible, while providing default implementations that work well in most cases
Read more about this topic: Web Work
Famous quotes containing the words design and/or goals:
“I begin with a design for a hearse.
For Christs sake not black
nor white eitherand not polished!
Let it be weatheredlike a farm wagon”
—William Carlos Williams (18831963)
“If you really think about it, everything is wonderful in this world, everything except for our thoughts and deeds when we forget about the loftier goals of existence, about our human dignity.”
—Anton Pavlovich Chekhov (18601904)