Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Which one is better CMP or BMP

843830Feb 27 2008 — edited Feb 27 2008
1) Which one is better CMP or BMP??
2) Performance wise which one is better ???
3) Is there any limitations/restrictions for CMP & BMP ?
4) In which situation we need to use CMP.
5) In which situation we need to BMP.

If you say the container generates database access code & take care of everything while using CMP entity bean. Once you use BMP entity bean we need to write code for everything(like database & Transaction etc). So it will reduce the development time while using CMP.

In this case CMP is better than BMP okay. I agree this

But my doubt is, we can write our own BMP code that to make better performance than CMP right ? atleast any one Java expert can do this right.
In this case, shall we say BMP is better than CMP???

could me tell me?? any other difference is there between CMP & BMP??
or When will CMP fails and when will BMP fails???

Thanks & Regards
Dhinesh Kumar R





Regards
Dhineshkumar R
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 26 2008
Added on Feb 27 2008
1 comment
196 views