I was digging around learning about extreme programming and design patterns, when I came across a discussion of my favourite pattern applied to the web.UI Design.net discusses a MVC approach to web applications. It includes the UML diagrams, state diagrams and transitions, and Java code to build a functioning MVC for web applications.