posted 20 years ago
I think DAO can be used no matter BMP or CMP.
For BMP, your DAO maybe responsible DB connectivity via
JDBC.
For CMP, your DAO maybe responsible DB connectivity via Entity Bean.
If the exam is focus on
EJB 1.1, I feel BMP seems better, as at that time, CMP is sucks! However, nowadays, CMP in EJB 2.0 has been improved a lot (although there are still lots of problems while comparing to EJB 3.0 draft), thus CMP seems a better choice.
Nick
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)