Java Design Patterns
Course length: 5 days
Prerequisites: Java Programming Introduction or equivalent knowledge is recommended.
Topics
- Introduction: Coupling, Model-View-Controller (MVC), advantages of MVC, classes play roles, design patterns span classes and overlap, interface and implementation, the effects of change, observations, Lab
- Each of the following design patterns will be covered as follows: problem, what won't work, solution, UML, source code, when to use this pattern, this pattern makes it easier to, this pattern reuses, references, where this pattern is used in the Java SDK, and Lab
- Clone
- Prototype
- Factory Method
- Disable Copying
- Singleton
- Prototype, Factory Method, or Singleton?
- Abstract Factory
- Bridge
- Proxy
- Iterator
- Composite
- Builder
- Flyweight
- Interpreter
- Visitor
- Chain of Responsibility
- Memento
- Command
- All of Me
- State
- Decorator
- Observer
- Adapter
- Facade
- Template Method
- Mediator
- Strategy
- Conclusion: density, principles, advantages, disadvantages
- Sorting design patterns: by name, by intent, by purpose and scope, by problems they solve, by what they vary
Return to Courses