wood burning stoves
The moose likes OO, Patterns, UML and Refactoring and the fly likes Lazy Loading pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Lazy Loading pattern" Watch "Lazy Loading pattern" New topic

Lazy Loading pattern

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 782


Instead of holding a reference to the real object, you manage an intermediary Reference instance.


a) Eclipse 3.2 API

b) OSGi R4 api

Does anybody know if there's a formal definition of this pattern somewhere ?
Or is it worthy to be called a pattern ?
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
"Patterns of Enterprise Application Architecture" has a Lazy Load pattern included: http://www.developerdotstar.com/mag/bookreviews/joyce_PEAA.html

Don't have my copy at hand, so I can't tell how closely it fits your description.

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link: http://aspose.com/file-tools
subject: Lazy Loading pattern
jQuery in Action, 3rd edition