Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

lazy loading

 
viswanadh kasinadhuni
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
K&B,
is there any explation about "lazy loading" in your book? Does your book has topic of CMP & BMP relations?
thanks
vishy
 
Billy Tsai
Ranch Hand
Posts: 1304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u can search google for that term or look up some operating system concept books for it
 
Kathy Sierra
Cowgirl and Author
Rancher
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
viswanadh kasinadhuni
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the reply kathy..I need to take a look at the book now
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic