|
|
|
Lazy initialization:In a software design pattern view, lazy initialization is often used together with a factory method pattern. This combines three ideas:
- using a factory method to get instances of a class (factory method pattern)
- storing the instances in a map, so you get the same instance the next time you ask for an instance with same parameter (Multiton pattern, similar to the singleton pattern)
- using lazy initialization to instantiate the object the first time it is requested (lazy initialization pattern).
If you need any urgent assistance on what-is-lazy-initialization, kindly email your requirement to us at : info@javagenious.com or Contact-an-Expert. Our experts will try their best to solve your problem.
You can also subscribe to our newsletters on what-is-lazy-initialization, to receive updates on what-is-lazy-initialization,via email.Enter you email below:
Keyword Tags: what-is-lazy-initialization tutorial,what-is-lazy-initialization in java,Concepts of what-is-lazy-initialization,Java,J2EE,Interview Questions,what-is-lazy-initialization Examples
|
|
|
How lazy initialization affects in Hibernate? can u give some example.