|
Suhel, Lazy
loading takes place when the data for a field in an entity is not loaded from
the underlying
datasource until an accessor for that field/s is called. Aggressive
loading takes place when all the data for an entity is loaded at ejbLoad()
time. For BMP
the user has a choice of performing Aggressive or Lazy loading, or a mixture of
both. e.g.
Basic Account data may be loaded at ejbLoad() time and extended Account data
loaded from the
datasource only if an accessor for that data is called. For CMP
the container implementor (i.e. App server vendor) makes the choice for lazy or aggressive
loading (or both) and implements this in the generated CMP beans. In all
cases the choice of Lazy or Aggressive loading should be transparent to the
bean client. regards DGA -----Original Message----- Hey Guys what is the different between the
Lazy loading and Aggressive Loading in Entity beans, is their any difference
between BMP and CMP type beans wrt different Loading. -Suhel |
- Lazy Loading vs Aggressive Loading Suhel Ahmed
- Re: Lazy Loading vs Aggressive Loading Duncan Alexander
- Re: Lazy Loading vs Aggressive Loading Gene Chuang
