Design Patterns in Java

Paths

Design Patterns in Java

Authors: Bryan Hansen, Jose Paumard

Design patterns provide developers with templates on how to solve software development problems without reinventing the wheel every time. For Java developers, understanding design... Read more

What you will learn

Creational design patterns

  • Singleton Pattern
  • Builder Pattern
  • Prototype Pattern
  • Factory Method Pattern
  • Abstract Factory Pattern

Structural design patterns

  • Adapter Pattern
  • Bridge Pattern
  • Composite Pattern
  • Decorator Pattern
  • Facade Pattern
  • Flyweight Pattern
  • Proxy Pattern

Behavioral design patterns

  • Chain of Responsibility Pattern
  • Command Pattern
  • Interpreter Pattern
  • Iterator Pattern
  • Mediator Pattern
  • Memento Pattern
  • Observer Pattern
  • State Pattern
  • Strategy Pattern
  • Template Method Pattern
  • Visitor Pattern

Pre-requisites

Core Java Skills

Creational

In this section, you’ll learn about the most common creational design patterns. The coverage deliberately ignores the corner cases for the benefit of the patterns that you will most likely use or encounter in your daily work.

Design Patterns in Java: Creational

by Bryan Hansen

Sep 16, 2019 / 1h 54m

1h 54m

Start Course
Description

This course is part of a 3 part series covering design patterns using Java. This part covers the creational design patterns, Singleton, Builder, Prototype, Factory, and AbstractFactory as defined by the Gang of Four. We look at examples in the Java API and code examples of each pattern.

Table of contents
  1. Introduction and Prerequisites
  2. Singleton Pattern
  3. Builder Pattern
  4. Prototype Pattern
  5. Factory Method Pattern
  6. AbstractFactory Pattern
  7. What Next?

Structural

The structural patterns take you to the next level. This section expands the number of patterns you already know. As in the previous section, the approach still focuses on the most frequently used patterns.

Design Patterns in Java: Structural

by Bryan Hansen

Sep 16, 2019 / 2h 42m

2h 42m

Start Course
Description

This course is part of a three-part series covering design patterns using Java. This part covers structural design patterns such as Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy as defined by the Gang of Four. We look at examples in the Java API and code examples of each pattern.

Table of contents
  1. Introduction and Prerequisites
  2. Adapter Design Pattern
  3. Bridge Design Pattern
  4. Composite Pattern
  5. Decorator Pattern
  6. Facade Pattern
  7. Flyweight Pattern
  8. Proxy Pattern
  9. Next

Implementing Design Patterns Using Java 8 Lambda

by Jose Paumard

Jul 15, 2019 / 3h 8m

3h 8m

Start Course
Description

As a Java developer, mastering the standard design patterns from the Gang of Four book allows you to create better business applications, more robust and easier to maintain in the long run. In this course, Implementing Design Patterns Using Java 8 Lambda, you will learn how you can leverage the tools Java 8 added to the platform to write better code: easier to read and with better performances. These tools bring several functional programming paradigms to the Java language: function chaining and composition, and partial application. First, you will study how these tools have been used to improve the JDK itself through several examples including the Comparator API. Then you will see how you can use the same approach to implement several patterns on live demo examples, including the Factory, the Builder, the Singleton, and the Registry, following the principles of clean code. You will even implement the Visitor pattern in a functional and non-intrusive way. Finally, you will apply those principles to create your own Validator, purely functional and fluent. Mastering these techniques will help you creating performant, readable and versatile Java applications.

Table of contents
  1. Course Overview
  2. Introducing Default Methods to Chain and Compose Functions
  3. Using Function Composition and Chaining to Build Comparators
  4. From Factory and Registry to Builder Using Lambda Expressions
  5. Implementing The Visitor Pattern Using Functions and Composition
  6. Using Partial Application and Lambdas to Build Validators

Behavioral

The coverage of the behavioral patterns closes out this path by exposing you to the most relevant behavioral design patterns.

Design Patterns in Java: Behavioral

by Bryan Hansen

Sep 13, 2019 / 4h 54s

4h 54s

Start Course
Description

This course is part of a 3 part series covering design patterns using Java. This part covers the behavioral design patterns, Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template, and Visitor as defined by the Gang of Four. We look at examples in the Java API and code examples of each pattern.

Table of contents
  1. Course Overview
  2. Behavioral Design Patterns Introduction
  3. Chain of Responsibility Pattern
  4. Command Pattern
  5. Interpreter Pattern
  6. Iterator Pattern
  7. Mediator Pattern
  8. Memento Pattern
  9. Observer Pattern
  10. State Pattern
  11. Strategy Pattern
  12. Template Method Pattern
  13. Visitor Pattern
  14. What Next?
Offer Code *
Email * First name * Last name *
Company
Title
Phone
Country *

* Required field

Opt in for the latest promotions and events. You may unsubscribe at any time. Privacy Policy

By providing my phone number to Pluralsight and toggling this feature on, I agree and acknowledge that Pluralsight may use that number to contact me for marketing purposes, including using autodialed or pre-recorded calls and text messages. I understand that consent is not required as a condition of purchase from Pluralsight.

By activating this benefit, you agree to abide by Pluralsight's terms of use and privacy policy.

I agree, activate benefit