nTier's Patterns In Frameworks course is a 3 day intensive workshop focused on the design patterns found in many common frameworks such as Spring, Struts and Java Server Faces (JSF). Common usage in JEE/J2EE is also included such as the servlet framework and EJB (2 and 3).
The intent of the course is two fold:
Enable students to learn the frameworks quickly
Equip students to leverage common frameworks and the JEE environment to their fullest extent
The course is delivered in a 70% hands on coding with minimal lecture. Lessons are delivered in a "Socratic" fashion whereby:
Students are given a problem and asked to solve it
A short lecture / demo is given in order to show our solution
Students are given time to revise their solution as needed
Our goal is to provide a "real life" experience in which the participants code a single problem domain throughout the class and use the patterns in context to solve common reocurring problems.
This course can be customized to focus on a particular framework of your choosing.
Encapsulation Of Construction
The importance of hiding creation
The intent of Factories
Factories and Psuedo-Factories
Hiding what changes
Factories in the frameworks
Encapsulation of Variation
Finding what varies
Understanding the context
The intent of Strategies
Using the Strategy Pattern to encapsulate business rules
Strategies in the frameworks
Abstracting Common Flow
Same steps different procedures
Skeletons and Internal Access
The intent of the Template Mathod
Strategy vs Template Method - when to use each
The Template Method in the framworks
Model View Controller
Understanding Application Flow
The intent of MVC
MVC n the frameworks
Encapsulating Request
Parameterize clients
The intent of the Command Pattern
Understanding the Command Pattern
Command Pattern usage in the frameworks
Controlling Access
Access for business objects
Delegation before and after execution
The intent of the Proxy Pattern
Variation of Proxies
Proxy usage in frameworks
Aspect Oriented Programming
Object Replacement
The intent of the Dynamic Proxy
Before and After Advice
Dynamic Proxy usage in frameworks