SCJP, SCJD, SCWCD, SCBCD
SCJP, SCJD, SCWCD, SCBCD
Originally posted by Erik:
Hi Lokesh,
The arguments you give are well-known. Wrapping BMP entity beans by DAOs to make it easier to migrate to CMP. Nevertheless, I am advocating the use of DAOs even with CMP. In other words, not using entity beans as 'business objects' but simply using them as an implementation of a persistence mechanism hidden behing a DAO interface.
Cheers
Erik
SCJP, SCJD, SCWCD, SCBCD
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
SCJP, SCJD, SCWCD, SCBCD
By the way, I think there is growing consensus these days that entity beans are one of the shortcomings of J2EE.
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
SCJP, SCJD, SCWCD, SCBCD
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
CLUCK LIKE A CHICKEN! Now look at this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|