Which is a benefit of using DAOs with BMP-based entity beans?
A. Less code than a CMP entity bean B. Faster data access than CMP C. Reduced coupling with entity bean D. Easier to code than CMP entity bean
SCJP, SCJD, SCWCD, SCBCD
SCJP, SCJD, SCWCD, SCBCD
Tom
SCJP, SCJD, SCWCD, SCBCD
Originally posted by Tom Adams:
I would think that "C. Reduced coupling with entity bean" means that the DAO code is not tied to an entity bean implementation.
Originally posted by Darya Akbari:
I was pointing to Answer B having in mind that only with the begin of EJB 2.0 CMP we had a better performance.
Originally posted by Darya Akbari:
On the other hand I thought that DAO is simply an interface for persistence operations (create, read, update, delete and finder methods) which must not be related to an entity bean at all but connects directly to a JDBC data source.
Originally posted by Darya Akbari:
the question says that the DAO is used with an BMP entity bean and NOT with a seesion bean.
SCJP, SCJD, SCWCD, SCBCD
Originally posted by Darya Akbari:
I can't find on p.146 that Martin Fowler is referring to J2EE's DAO.
Originally posted by Darya Akbari:
Can you give me a link where I can find more about your explanations?
Originally posted by Darya Akbari:
Beside of that, are we supposed to know about the J2EE Patterns? As far as I know we must know all GOF Patterns for the SCEA 310-051 exam but not the J2EE Patterns.
SCJP, SCJD, SCWCD, SCBCD
What could go wrong in a swell place like "The Evil Eye"? Or with this tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|