Author: Prasad Kharkar

Prasad Kharkar is a java enthusiast and always keen to explore and learn java technologies. He is SCJP,OCPWCD, OCEJPAD and aspires to be java architect.

Builder Design Pattern

Going forward with our design pattern tutorials, we will see yet another creational design pattern i.e. builder design pattern. Builder Design Pattern: Builder design pattern allows the client to create object based only on type of object. Gang of Four…

Observer Pattern Implementation

Continuing with our design pattern articles, we will further dive into another popular and useful observer pattern implementation. In this article I will try to explain what is observer pattern and provide observer pattern implementation with a simple example. Observer…

Strategy pattern implementation

Continuing with our design patterns tutorials, we will look into another design pattern. We are going to study strategy pattern implementation. I feel this is simpler as compared to other patterns such as factory method and abstract factory implementation. Strategy…

Abstract Factory Pattern Implementation

In last article we learned about factory method design pattern. This article will help understand another flavor i.e. abstract factory pattern. When systems become more complex, abstract factory pattern implementation is useful. Abstract Factory Pattern Implementation: Abstract factory pattern implementation…

factory method implementation

Going forward with our design patterns tutorials series, we will see another creational design pattern which is a flavour of factory design pattern. It comes in two flavours, factory method and abstract factory. We will see factory method implementation in…

Facade Design Pattern

We are going to study about facade design pattern in this article. It is a structural design pattern and helps client applications to interact with system in easier way. It provides an interface for the client to access a system.…

Working of Collections.synchronizedMap

We have seen working of¬†HashMap and Hashtable¬†in java collections framework and know that Hashtable provides synchronized methods while HashMap doesn’t. Hashtable is thread safe and HashMap is not. But there is a way to synchronize a HashMap and make it…