Hi Chris/Ramesh,
Can you please explain me when we really go for using DAO.I heard that DAO's can be written independent of the Database(s) that we are using in our project.The Business object will access the DAO's.The DAO's extends the DAO Factories where database configuration will be there.Hence I guess only for multiple database support or Database independent queries can be handled using DAO's.Please correct me if I am wrong.
By using
EJB CMP itself we can achieve the same task and also we can avoid the overhead of writing the
JDBC code.
Hence my doubt is when we really go for DAO's and when EJB's.
Thanks a lot.
Waiting for your reply in anticipation.