List/Grid Tag Archives: Java

Encrypted Message

Understanding Transport Layer Security / Secure Socket Layer

Transport Layer Security (TLS) 1.0 / Secure Sockets Layer (SSL) 3.0, is the mechanism to provide private, secured and reliable communication over the internet. It is the most widely ...
Singleton in heap

Singleton Design Pattern – An introspection and best practices

Definition: Singleton is a part of Gang of Four design pattern and it is categorized under creational design patterns. In this article we are going to take a deeper look into the usage ...
Decorator Design Pattern

Gang of Four – Decorate with decorator design pattern

Decorator pattern is one of the widely used structural patterns. This pattern dynamically changes the functionality of an object at runtime without impacting the existing functionality ...
Facade Design Pattern structure

Façade Design Pattern – Design standpoint

In our previous article we have described about the Adapter Design Pattern. In today’s article we are going to show about another such Gang of Four Structural patterns.  As the name ...
Proxy Design Pattern Structure

Gang of Four – Proxy Design Pattern

Description: Proxy is another Structural design pattern which works ‘on behalf of’ or ‘in place of’ another object in order to access the later. When to use this pattern? Proxy ...
Prototype Pattern Example

Creating another dolly with Prototype

It’s really a time consuming process to create objects and also an expensive affair. So we are now on a venture to save both time and money. How do we do that?Anybody remember about ...
Deep Cloning Example

Deep diving into Cloning

Before we proceed with the cloning concept let’s refresh our basics with the object creation concept. When the objects are created using the new operator the objects gets the memory ...
Marker Interface vs Marker Annotation

Is there a better approach to Marker?

Since the launch of Java 1.5 there has been a wide range of discussion and debate on whether to use the Marker interface in Java. This is because Java 1.5 has introduced Annotations ...
Adapter Pattern Structure

Let’s adopt the Adapter

Problem Statement: Have you ever come to a situation where you have been handed over a charge of a code base and were told to update a new functionality reusing the existing components? ...
Abstract Factory Design Pattern (UML)

Abstract Factory Design Pattern Explained

Abstract Factory Design Pattern is another flavor of Factory Design Pattern. This pattern can be considered as a “super factory” or “Factory of factories”. The Abstract Factory ...
© 2013 IdioTechie. All rights reserved.