105 When would you use the DAO
pattern in regards to a Stateful Session Bean?
DAO = Date Access Object CMP = Container Managed Persistence BMP = Bean Managed Persistence
A When using CMP to reduce dependence on underlying data store.
B When using BMP to reduce dependence on underlying data store.
C When using BMP to increase performance.
D When using CMP to increase performance.
E You wouldn't use a DAO with Stateful Session Beans.
F When writing to a temporary store when ejbPassivate() is called
Ans: Choice E is correct.
But I have doubt why can't we use DAO for Statufull Session beans?
If we can use DAO with Statufull Session beans we can tick the answer B.