This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi The best thing to understand about MVC design is Struts library from apache. Download the source code and guide from it. UMLCafe on Rational used to be have good discussion about UML aspects. But now I don't whether it is still there. -Ashok
Hmm. Although they like to claim it, Struts is neither the only way to do MVC, nor the only project that does it. MVC (model-view-controller)is an architectural pattern, and as such says nothing about servlets. Do a search in this forum for MVC, and you should see lots of opinions and examples of ways to use and abuse the MVC pattern. Try this thread for a start.
It's kind of a stretch to even call Struts (or any similar servlet architecture) MVC. Struts is faithful to some of the principles but it is its own thing in many ways. The history comes from fat clients with all three components in memory together. Interestingly Swing is described by Sun as a complete MVC implementation internally. In building applications we can mostly fit that whole MVC into the View component. A couple references I found recently said MVC is obsolete, and we should think about Model Document nowadays. Might be Microsoft propoganda to justify OLE.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi