Dynamic Proxy API

Java platform has made significant improvement with the introduction of the Dynamic Proxy API. It can be used to create a type-safe proxy object for a list of interfaces without requiring pre-generation of the proxy class.

Continue reading


Factory Method Pattern

Factory method pattern enables us to create object without exposing the creation logic to the client and refer to newly created object using a common interface. It is one of the most widely used creational pattern.

Continue reading


Command Pattern

Command pattern is a behavioral design pattern in which an object is used to encapsulate all information needed to perform an action or trigger an event at a later time.

Continue reading


Chain of Responsibility Pattern

Chain of responsibility pattern is a behavioral pattern consisting of a source of command objects and a series of processing objects. Each processing object contains logic that defines the types of command objects that it can handle; the rest are passed to the next processing object in the chain.

Continue reading


Iterator Pattern

Iterator pattern is a behavioral design pattern in which an iterator is used to traverse a container and access the container's elements.

Continue reading


Composite Pattern

Composite pattern is a structural pattern which is used where we need to treat a group of objects in similar way as a single object. Composite pattern composes objects in term of a tree structure to represent part as well as whole hierarchy.

Continue reading


MVC Pattern

MVC pattern is architectural pattern for implementing user interfaces on computers. MVC stands for Model-View-Controller. This pattern is used to separate application's concerns.

Continue reading


Facade Pattern

Facade Pattern promotes decoupling the subsystem from its potentially many clients by encapsulating a complex subsystem within a single interface object. This reduces the communication and dependencies between the subsystems and reduces the complexity of the system.

Continue reading