RSS Feed for EnterpriseCategory: Enterprise

Design Pattern in Java 101 – Lazy Load Part II »

Download Sample Code This is Part II of the previously described Lazy Load pattern. value holder A value holder is used as a generic Lazy Load. It is an object that wraps some other object. To get the underlying object you ask the value holder for the value, and the first access will pull the […]

Design Pattern in Java 101 – Lazy Load Part I »

Download Sample Code Lazy Load is one of the object relational behavioral patterns. With lazy load, an object does not contain all of the data you need but knows how to get it when it is needed. This pattern is commonly found in most of the OR mappers, e.g. Hibernate. E.g. when you load the […]