Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Java Design Patterns: Behavioral Part 2

Java Design Patterns: Behavioral Part 2

55mIntermediate2020-12-10

Authors

Bethan Palmer

Bethan Palmer

Developer

Course details

Behavioral design patterns can help you take your Java code to the next level. Join instructor Bethan Palmer as she walks you through the following design patterns, with challenges to check your understanding of each: Observer, State, Strategy, Template Method, and Visitor. Learn about the Observer pattern, which ensures an object's dependencies are notified when it changes state. Discover the State pattern, which allows an object to alter its behavior when its internal state changes, and can be used to avoid large and repetitive switch statements. Explore how the Strategy pattern allows you to create a family of interchangeable algorithms, how the Template Method pattern enables you to redefine the steps of an algorithm without changing its structure, and more. Along the way, Bethan demonstrates how to implement each design pattern in real-world situations.

Skills covered

JavaOracleProgramming LanguagesSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - Improve code quality with behavioral design patterns
  • 02 - What you should know

1. The Observer Pattern

  • 03 - Understanding the Observer pattern
  • 04 - Implementing an observer
  • 05 - Implementing an observable
  • 06 - Challenge - The Observer pattern
  • 07 - Solution - The Observer pattern

2. The State Pattern

  • 08 - Understanding the State pattern
  • 09 - Avoiding large switch statements
  • 10 - Allowing an object to change its behavior
  • 11 - Challenge - The State pattern
  • 12 - Solution - The State pattern

3. The Strategy Pattern

  • 13 - Understanding the Strategy pattern
  • 14 - Implementing the Strategy pattern
  • 15 - Improving the Strategy pattern with Java 8 features
  • 16 - Challenge - The Strategy pattern
  • 17 - Solution - The Strategy pattern

4. The Template Method Pattern

  • 18 - Understanding the Template Method pattern
  • 19 - Implementing the Template Method pattern
  • 20 - Challenge - The Template Method pattern
  • 21 - Solution - The Template Method pattern

5. The Visitor Pattern

  • 22 - Understanding the Visitor pattern
  • 23 - Creating a visitor
  • 24 - Implementing the full Visitor pattern
  • 25 - Challenge - The Visitor pattern
  • 26 - Solution - The Visitor pattern

Conclusion

  • 27 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal