What is multi-threading? Multithreading is the ability of a program to perform multiple tasks concurrently. Multi-threading is a programming language term derived from a concept of multitasking. It is used when we want to divide our job into several independent parts. It allows the execution of multiple parts of a program at the same time…. Continue reading
Posts in "Design Pattern"
Interpreter Design Pattern
In this article I’ll introduce the interpreter design pattern and give you an example how you can use it.
Iterator Design Pattern
In this article I’ll write about the Iterator Design Pattern. This pattern is used to iterate over an aggregate object without exposing the underlying implementation of this object.
Proxy Design Pattern
In this article I’ll write about the Proxy Design Pattern. This pattern is used to control access to resources and objects. The real value of this pattern is to reduce memory costs for objects until you really need them.
Facade Design Pattern
In this article I will write about the Facade Design Pattern and give you some examples for its usage.
Prototype design pattern in java
In this article, I’ll give you an introduction (with Java examples) to the prototype design pattern.
Adapter design pattern in java
In this article I’ll introduce the Adapter Design Pattern and how you can use it in Java. This pattern is mostly used to enable loosely-coupling of plugins into applications (for example the way Eclipse does this).
Composite design pattern in java
In this article, I’ll introduce the Composite Design Pattern. This pattern is used to represent part-whole hierarchies.
Decorator design pattern in Java
In this article I write about the Decorator Design Pattern. This is a very nice pattern if you want to extend class behavior at runtime.
Factory design pattern
In this article, I will write about the Factory Design Pattern in Java, why it is good and how to use it when writing a Java application.