Model View Controller - An Example: Java Design Patterns and Architecture, Part 5

This is a tutorial on using MVC in Java; I'll use Swing as an example, but don't worry if you don't know Swing because MVC is going to be somewhat the same, under the hood at least, regardless of what library or system you use to implement it, even if it looks different on the surface. To be honest, most of the MVC apps I've worked on (at least I thought they were MVC) didn't follow as rigorous a methodology as the one I outline in this tutorial. You could argue that anything that separates user interface from data handling and "business logic" is MVC. But there nevertheless is a canonical interpretation, and that's what we'll look at here.

Source Code

DesignPatterns5 -

Next ...

The Observer Pattern – Theory: Java Design Patterns and Architecture, Part 6