Originally posted by Rufus Bugleweed:
I agree with you. DAO is to decouple the application from the data source.
One problem I could see would be the stateful bean holding a reference to the DAO. That's a memory leak isn't it?
Originally posted by Seid Myadiyev:
First of all thank you for the SCEA@Whiz mock exam! I learnt many important points for the actual exam and I feel better and better prepared with each day!
So in this question what exactly is being asked of me:
1. Is it good idea to use DAO with Stateful Session Beans
2. Is it good idea to access data from Stateful Session Beans
Thank you for your clarification!