Creational Patterns – Abstract Factory Pattern
Posted by Sachin in Abstract factory pattern, Creational pattern, Design Patterns on 09. Aug, 2010 | 0 Comments
Today we are going to see one of the design patterns abstract factory. Its one level of abstraction higher than factory pattern.The main use of Abstract Factory Patten is that is isolates the concrete classes which are generated.
Singletons in Java
Posted by Sachin in Creational pattern, Design Patterns, JAVA/J2EE, Singleton pattern on 16. Jul, 2010 | 0 Comments
Singletons are the design pattern when you want only one instance of a class created. You make the constructor private, and give access to the instantiated object via a static instance method that creates the object if it has not been created already. The singleton class is threadsafe lazy instantiation. I hope many would be [...]
