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
Ram Dhan Yadav (SCJP, SCWCD, SCJA-I, IBM EC(483))
"We are what we repeatedly do. Excellence, then, is not an act, but a habit."
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
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop