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).
Would you turn that thing down? I'm controlling a mind here! Look ... look at the tiny ad ...
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|