It is not like EJB -> DAO
DAO's are retrieved from a pattern introduced by Sun when i remember correct. You normally use this class for accessing data layer. CMP EJB's are a different way of accessing Data in your ressource (e.g. database).
In J2EE Applications with EJB you often use DAO's for retrieving a bigger amount of Data, cause it is faster than using EJB's.
You can get more info about the DAO Pattern
here Hope that helped
Olli
[ June 08, 2003: Message edited by: Oliver Refle ]