In the video tutorial below, we take a closer look at the double-checked locking design pattern in Java. This tutorial includes an introduction, implementation, and out-of-order writes. Let's get started!
Messaging Design Pattern (MDP) In Java
In this video tutorial below, we take a closer look at Messaging Design Pattern(MDP) in Java. This tutorial includes an introduction and implementation of a proxy, adapter, and web service. Let's get started!
Object Relational Behavioral Design Patterns in Java
In this video tutorial, we take a closer look at Object Relational Behavioral Design Patterns in Java. This tutorial includes an Identity Map, Unit of Work, and Lazy Load. Let's get started!
Session State Design Patterns in Java: Client, Server, and Database Session State Design Patterns
In the video below, we take a closer look at Session State Design Patterns in Java including the client, server, and database session state design patterns. Let's get started!
Domain Logic Design Patterns in Java: Transaction Script, Domain Model, Table Module, and Service Layer
In the video below, we take a closer look at Domain Logic Design Patterns in Java including the transaction script, domain model, table module, and service layer. Let's get started!
Bridge Design Pattern in Java: An Intro, Real-time Examples, Class/Seq Diagram, and Implementation
In the video below, we take a closer look at Bridge Design Pattern in Java including an intro, real-time examples, a class/seq diagram, and an implementation. Let's get started!
Object-relational Structural Design Patterns in Java
In the below video, we take a closer look at Object-relational structural design patterns in Java. Let's get started!
Proxy Design Pattern in Java
In the video below, we take a closer look at the Proxy Design Pattern in Java. This video tutorial includes an introduction, real-time examples, a class/sequence diagram, and implementation. Let's get started!
Mediator Design Pattern in Java [Video]
In the video below, we take a closer look at the mediator design pattern in Java. Including an introduction, real-time examples, class diagram, and implementation, this tutorial will help you dive into the topic. Let's get started!
Interpreter Design Pattern in Java
In the video below, we take a closer look at the Interpreter Design pattern in Java. This tutorial includes an introduction, real-time examples, a class diagram, and implementation. Let's get started!
Adapter Design Pattern in Java: Mobile Charger
In the video below, we take a closer look at the adapter design pattern in Java (Mobile Charger). This tutorial includes an introduction, example, implementation, and more. Let's get started!
Adapter Design Pattern in Java [Language Translator] – Introduction, Example, and Implementation
In the video below, we take a closer look at Adapter Design Pattern in Java [Language Translator] - Introduction, Example, and Implementation. Let's get started!
Template Design Pattern or Template Method Design Pattern in Java
In the video below, we take a closer look at the Template Design pattern or the Template Method Design pattern in Java. Let's get started!
State Design Pattern in Java
State Design Pattern in Java is a software design pattern that allows an object to change its behavior when the internal state of that object changes. The state design pattern is generally used in cases where an object depends on its state and its behavior must be changed during run time depending on its internal state. The state design pattern is one of the many behavioral design patterns and therefore characterizes control flow between objects that is difficult to follow at run time. State Encapsulation is an excellent way to manage change in software. In this article, we will discuss the key aspects of state design pattern motivation, describe what it is, mention the key participants used in implementing it and also use a code example to demonstrate its usage.
What is the State Design Pattern? (State Design Pattern Real World Example)
In computer networks, TCP (Transmission Control Protocol) is a standard that defines how a connection is established and maintained through which the applications can exchange data. A TCP connection object can be in the following states:
Design Patterns Demystified – Strategy Design Pattern
In this edition of our series of Design Patterns Demystified, we are going to discuss the strategy design pattern. So let us understand the why, what, how, and where of Strategy Design Pattern.
The Why
Let us first understand why we need this pattern. Imagine you are building an interface for vehicle simulator which has standard behaviors like startEngine(), stopEngine(), drive(), etc. for different types of vehicles, so you created a standard hierarchy of a Vehicle interface and an implementation class for Cars. This worked fine for a while, until you got a contract from an airline company that wants a behavior called fly() instead of drive() (because you don't "drive" planes, generally).
Design Patterns for Beginners With Java Examples
In this guide, we provide an introduction to the world of design patterns. For each pattern, we further understand the pattern and the context in which it is applicable, with real-world examples.
In this post, you will learn:
Introduction to Flyweight Design Pattern [Video]
In the video below, we take a closer look at the flyweight design pattern in Java. Let's get started!
Prototype Design Pattern [Video]
In the video below, we take a closer look at implementing the prototype design pattern in Java. Let's get started!