Experience Design Patterns In Java

Learn to write better software by understanding common problems and applying design patterns for a better solution.
4.4 (300 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
6,010 students enrolled Bestselling in Design Patterns
Take This Course
  • Lectures 57
  • Length 8 hours
  • Skill Level All Levels
  • Languages English, captions
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 4/2014 English Closed captions available

Course Description

Boost your software designs by taking this content-rich and hands on fully featured training course.

This course will give you insight in the more than 20+ design patterns from the book "Design Patterns: Elements of Reusable Object-Oriented Software", by Gamma, Helm, Johnson and Vlissides, which is considered the reference on the subject.

For each pattern a clear example is given to understand the problem the pattern will solve, as well as its advantages and disadvantages. You will be able to practically understand how the pattern works with the detailed included Java lessons.

At the end of this course, you will be able to

  • Identify common problems in your code
  • Apply the correct design pattern
  • Talk with colleagues using a common vocabulary (and be a hero)
  • Implement a better object oriented solution that is a lot more maintainable and readable

- All of the video lectures are download-enabled.
If you have a slow internet connection, or want to take this course with you on your laptop, smartphone or other portable device, sign up and download all the videos and other course materials now.

Sign up now to get lifetime access to this course. With Udemy's 30-day money-back guarantee, it's risk-free.

What are the requirements?

  • Knowledge of object oriented programming
  • Basic understanding of UML
  • Experience in Java for the practical sessions
  • An open mind

What am I going to get from this course?

  • Write better programs
  • Identify design problems
  • Learn the industry standard common vocabulary

Who is the target audience?

  • Software engineers
  • Designers
  • Architects

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Introduction

What are design patterns and why should you care? In this introduction i'll give you an overview off all the things you need to know before starting this course.

Source code
Section 2: Case Study: Building a 3D editor

In the case study we'll look at a real life scenario where we can apply several design patterns.


To build our 3D editor, we must define a correct document or data structure. In this practical Java session we'll go through the different options of defining that structure and how we can implementing it.


Let's look at the way we can render our images in the 3D editor, which are the main problems we must solve and how we can practically solve them using a strategy pattern. In this hands on session we will practically build our mini rendering program.


How can we efficiently capture user action in the 3D editor? In this session we'll create a system that implements the command pattern to capture user actions.


We face an issue when we want to deploy our 3D editor on multiple operating systems. In this session we'll implement a system that reduces the complexity of the extra platforms by using the Bridge pattern.

Section 3: Creational Design Patterns

In this lecture we'll discuss the focus points of the creational patterns and walk through the five patterns which are described in the "Gang of four: Elements of re-usable design" book.


In this lecture we'll describe the problem of a complex system that can benefit from the singleton pattern. We'll explain the theory behind the singleton pattern: when can we use it, what does it solve and the different options of implementing it.


How can you abstract a complex system? In this lecture we'll practically handle the case of a billing system and improve the overall design by using the singleton pattern.


Image you have an application which connects to three different databases. How can you avoid duplicating code when you want to query all three of them?


In this Java session we'll program the example given in the builder pattern theory. We'll create a fictional program that connects to three different databases. After this session the practical implication of the builder pattern will be clear.


In this lecture we'll discuss how the the factory method can delegate the object creation to other classes. We'll see how this pattern can improve our design when creating a re-usable framework.


With this hands on session we'll create a framework that relies on the factory method for object creation.


In the Abstract Factory lecture, a case is brought to support an application with multiple themes. By this illustration it'll be clear when you can use it and how it can improve the overall design.


How can we support an application that support multiple themes? In this lecture we'll build this framework in Java, illustrate some problems and fix it with the abstract factory pattern.


The prototype pattern creates objects by cloning others. What this exactly means will be explained in this lecture.

Prototype pattern using Java
4 questions

This quiz presents a number of design problems and to goal is to choose which creational pattern will solve them.

Section 4: Structural Design Patterns

In this lecture we'll discuss the focus points of the structural patterns and walk through the seven patterns which are described in the "Gang of four: Elements of re-usable design" book.


With the façade pattern we'll see how a complex system can be abstracted by using a façade. A complex financial system is given as an illustration to comprehend how the façade pattern can enlighten the overall design.


This session shows how easy it can be to use a façade pattern to hide a complex system. We will program a fictional financial system and use the façade pattern to abstract it.


Ever wanted to use a class from another framework, but were faced with incompatible interfaces? In this lecture we'll discuss this problem and how the adapter pattern provides an elegant solution.


In this practical session we'll do a little geometry. We'll program a rectangle adapter to be able to adapt from the old to the new geometry classes.


The decorator pattern works great when building user interface design. In this lecture we'll discuss an example when the decorator pattern really pays off. We'll also consider when to use this pattern and the main pros and cons.


In the hands on session of the decorator patten, we'll build a small GUI framework and improving it's design by using this pattern.


This lecture handles the bridge pattern. We'll discuss how the bridge pattern can improve the overall design based on loose coupling an interface from its implementation.

Bridge pattern using Java

Sometimes it's necessary for a client to uniformly treat tree objects. This lectures covers how the composite pattern helps to solve this issue.


In this session we'll effectively build a tree based on graphic objects. We apply the composite pattern so clients can simplify their code.


In this lecture we'll discuss the case where we want to dynamically load images of an application. We go through the various points where the proxy pattern comes in handy.


It's time to dynamically load images. This hands on session covers how the proxy pattern can be used to remain the overall code by adding dynamic behaviour to the application.


Ever having an issue where your application is slow because it uses too much memory for thousand of objects? The flyweight pattern allows you to reuse these objects and gain a drastic performance improvement.


In this hands on session, we'll build a small word process to illustrate how the flyweight pattern really improves the overall memory performance of an application.

Section 5: Behavioral Design Patterns

In this lecture we'll discuss the focus points of the behavioral patterns and walk through the eleven patterns which are described in the "Gang of four: Elements of re-usable design" book.


This lecture illustrates how the command pattern really captures user or system actions. When should we apply this pattern and what are the pros and cons, it can all be found in this session.

Command pattern using Java

By using the strategy pattern we can encapsulate an algorithm in an object. We'll discuss a sample chess application that that benefits from applying the strategy pattern.


It's time to implement the strategy pattern in a fictional chess application.

Visitor pattern
Visitor pattern using Java
Observer pattern
Observer pattern using Java
Memento pattern
Memento pattern using Java
Mediator pattern
Mediator pattern using Java
Chain of responsibility pattern
Chain of responsibility pattern using Java
State pattern
State pattern using Java
Template method pattern
Template method pattern using Java
Section 6: Additional Patterns

In this chapter we're going to discuss the inversion of control pattern. We'll start with a problem statement and move our way to the patten details.

Inversion Of control pattern using Java

What is a Transfer object? When is it interesting to use one? Learn all about it in this chapter.

Data transfer object using Java
Section 7: Additional Materials
Patterns Overview
26 pages

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Stijn De Mulder, Software Architect Trainer

My professional career started ten years ago when I graduated from the university of Ghent (Belgium) with a masters degree in computer science. During my eduction I've always had a strong focus on software development.

Thus I started working as a technical consultant and gained experience as a software engineer in several large scale applications. My technical expertise was greatly appreciated. Part of my job description became guiding and training others where needed.

After a set of successful projects, I've received the opportunity to become a solution architect. With this change I've become more focused on how systems work together to fulfil a set of functionality instead of designing for one system in particular.

Teaching and supporting others in doing their job has always been a big part of my life. Therefore I possess the necessary skills to help others learn and focus on what's important.

Get the latest news @ElqooHome

Ready to start learning?
Take This Course