We don't talk about lazy loading in the book, except to say that it is *not* guaranteed by the spec, although the 2.0 spec makes it easy for the vendors to support. One example is that it is less efficient if you always load/repopulate a Customer entity bean with *all* of its state, when the business method that caused the bean to be used needs only, say, the "Last name" field. With lazy loading the vendor can figure out which pieces of a bean need to be synchronized with the database, and loads in only the parts that are needed, and only WHEN they are needed. The book has an entire chapter on CMP relationships (combined with EJB-QL). We don't talk about BMP relationships, because there is very little reason to manage relationships using BMP, since CMP 2.0 came out. The exam doesn't talk about BMP, and we don't cover how to use it. cheers, Kathy
posted 16 years ago
thanks for the reply kathy..I need to take a look at the book now
And when my army is complete, I will rule the world! But, for now, I'm going to be happy with this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!