EJB design: Opinions... True benefits of BMP Entity beans over DAO
I definitely see the benefit of EJB's as a whole, and am using stateless session beans as business controller objects, but was wondering what the real benefit of BMP Entity beans would be over plain ol DAO's... I'm trying to make a decision on what to use on the back end, and would like some opinions..
- Posted by: Nic Holbrook
- Posted on: November 09 2001 10:58 EST
- Opinions... True benefits of BMP Entity beans over DAO by Michael Stevens on November 13 2001 07:39 EST
- Opinions... True benefits of BMP Entity beans over DAO by Raj Rajen on November 13 2001 09:46 EST
- Opinions... True benefits of BMP Entity beans over DAO by Raj Rajen on November 13 2001 10:03 EST
I don't understand. Usually, BMP is accomplished through the use of DAO's in the entity bean.
I've been following this thread hoping that there will be some responses that I can learn from. Unfortunately, I dont have an answer as the same question has been on my mind as well.
I believe Nic's question was instead of:
Stateless Session Bean --> Entity Bean(s) --> DAOs
Why not use the following:
Stateless Session Bean --> DAOs (from within the business methods)
Nic, please post your findings as this is an important question of practical significance IMHO.
I didn't realize that there was another discussion along the same lines elsewhere in this forum.
Please see this link.There are some good points made in the discussions there.