Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Java Design Patterns: Structural

via LinkedIn Learning

Overview

Learn how to use the seven most popular structural design patterns—Adapter, Bridge, Composite, Decorator, Façade, Flyweight, and Proxy—to write better, more maintainable Java code.

Design patterns provide a kind of template for writing quality code. Knowing which design pattern to use in which scenario can be challenging, but will make you a better Java programmer. This course takes a deep dive into structural patterns, which can help you identify relationships and organize code into larger structures. Instructor Bethan Palmer shows how to use the seven most popular structural design patterns—Adapter, Bridge, Composite, Decorator, Façade, Flyweight, and Proxy—to write better, more maintainable Java code. She provides example use cases, complete with implementation instructions and tips for avoiding the unique challenges posed by each pattern. Every chapter contains a challenge to practice your new skills. By the end of the course, you'll be armed with the knowledge necessary to implement structural design patterns in your own Java projects.

Syllabus

Introduction
  • Improve code quality with structural design patterns
  • What you should know
1. Structural Design Patterns
  • What is a design pattern?
  • Structural design patterns
2. The Adapter Pattern
  • Understand the Adapter pattern
  • Implement the Adapter pattern
  • Challenge: The Adapter pattern
  • Solution: The Adapter pattern
3. The Bridge Pattern
  • Understand the Bridge pattern
  • Avoid complex constructions
  • Implement the Bridge pattern
  • Challenge: The Bridge pattern
  • Solution: The Bridge pattern
4. The Composite Pattern
  • Understand the Composite pattern
  • Example of when to use the Composite pattern
  • Implement the Composite pattern
  • Challenge: The Composite pattern
  • Solution: The Composite pattern
5. The Decorator Pattern
  • Understand the Decorator pattern
  • Implement a Decorator class
  • Change component behavior dynamically
  • Challenge: The Decorator pattern
  • Solution: The Decorator pattern
6. The Façade Pattern
  • Understand the Façade pattern
  • Implement the Façade pattern
  • Challenge: The Façade pattern
  • Solution:The Façade pattern
7. The Flyweight Pattern
  • Understand the Flyweight pattern
  • Recognize where to use the Flyweight pattern
  • Implement the Fyweight pattern
  • Challenge: The Flyweight pattern
  • Solution: The Flyweight pattern
8. The Proxy Pattern
  • Understand the Proxy pattern
  • Recognize where to use the Proxy pattern
  • Implement the Proxy pattern
  • Challenge: The Proxy pattern
  • Solution: The Proxy pattern
Conclusion
  • Next steps

Taught by

Bethan Palmer

Related Courses

Reviews

Start your review of Java Design Patterns: Structural

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free