#354 Add maven model for feature toggle design pattern

This commit is contained in:
Joseph McCarthy
2016-01-25 21:14:24 +00:00
parent cf10bd1d05
commit d7526fc7c0
86 changed files with 1165 additions and 270 deletions

View File

@@ -11,17 +11,19 @@ tags:
- Performance
---
**Intent:** Lazy loading is a design pattern commonly used to defer
## Intent
Lazy loading is a design pattern commonly used to defer
initialization of an object until the point at which it is needed. It can
contribute to efficiency in the program's operation if properly and
appropriately used.
![alt text](./etc/lazy-loading.png "Lazy Loading")
**Applicability:** Use the Lazy Loading idiom when
## Applicability
Use the Lazy Loading idiom when
* eager loading is expensive or the object to be loaded might not be needed at all
**Real world examples:**
## Real world examples
* JPA annotations @OneToOne, @OneToMany, @ManyToOne, @ManyToMany and fetch = FetchType.LAZY