The MVC Design Pattern
The MVC design pattern is most often
discussed in connection with servlet infrastructure. MVC
was originally designed to reduce the complexity of user interfaces in large, complex
information systems, and that's still what it's for.
A good application of MVC
should give a system five basic properties.
- Behavior that is easier to change
- A design that can be divided into modular subsystems
- Transparent subsystem behavior
- Plug-and-play subsystems
- Room to grow
In Beyond MVC: A New Look at the Servlet Infrastructure,
N. Alex Rupp looks at applying MVC to servlets
and uses the popular Struts framework as an example
of how it can be applied incorrectly.
The article touches on the history of MVC and spells out
what a correct implementation needs to do. Rupp goes beyond theory
and outlines how MVC should be applied in
the web tier.
Related articles
Related CZ Podcast episodes
- #217 · Ivo Lukačovič
On Windy, JavaScript and building companies. · Czech audio
- #3 · Java 6 SE, Vývoj webových aplikací
Dagi and Filemon discuss Java 6 and web application frameworks. · Czech audio
- #1 · Vývojová prostředí v Javě
The first CZ Podcast episode looks at Java development environments. · Czech audio