• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which of these two are correct?

 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Considering the advantages of implementing Entity Beans, which is the correct among these two.
1) They allow development without any database knowledge
2) They allow populating objects only when neede.
thanks,
Ramdhan YK
 
Andrew Tyson
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would say both could be interpreted as correct. Using CMP based Entity EJBs the mapping of persistent fields to an underlying database may be performed at assembly/deployment time.
EJB 2.0 containers may have sophisticated persistence management which employs both the 'dirty marker' strategy, and the 'lazy loading' strategy with respect to EJB/database synchronization. Using BMP one may determine what occurs when the ejbLoad() and ejbStore() are called by the container.
Thanks and regards,
Andrew
Thanks and regards,
Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic