Design pattern, Java

Multiton design pattern

  The Multiton pattern is a design pattern similar to the singleton, which allows only one instance of a class to be created. The Multiton pattern expands on the singleton concept to manage a map of named instances as key-value pairs. Rather than having a single instance per virtual machine, the Multiton pattern instead ensures a single instance… Continue reading Multiton design pattern

Design pattern, Java

Lazy initialization design pattern

Creational design pattern "... lazy initialization is the tactic of delaying the creation of an object, the calculation of a value, or some other expensive process until the first time it is needed." Lazy init can be triggered by calling the assessor method of an object started at a low priority background thread at application startup… Continue reading Lazy initialization design pattern