• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

lazy loading

 
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
 
Ranch Hand
Posts: 1324
  • 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
 
Cowgirl and Author
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
 
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!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic