-
1. Re: CMP vs. BMP
juha Mar 11, 2004 8:38 AM (in response to rais)So what is wrong with that answer?
-
2. Re: CMP vs. BMP
rais Mar 11, 2004 8:45 AM (in response to rais)I just want to here what other peoples opinion.
is that true, that you should always use CMP?
What is fastest and why??? -
3. Re: CMP vs. BMP
aloubyansky Mar 13, 2004 7:35 AM (in response to rais)JBoss CMP is all you need.
-
4. Re: CMP vs. BMP
larry054 Mar 13, 2004 11:35 AM (in response to rais)Sorry Loubyansky, I don't quite agree. CMP is fast, but there are times when I can't make CMP do what I want. Some applications require the flexibility of BMP.
Larry -
5. Re: CMP vs. BMP
nickman Mar 19, 2004 7:19 AM (in response to rais)But you did not ask which was most flexible, you asked which was fastest, and for a number of reasons, CMP is nearly always faster than BMP.
JBossCMP is also very flexible. I was able to make it support a series of unusual constructs. -
6. Re: CMP vs. BMP
larry054 Mar 24, 2004 7:50 AM (in response to rais)You're quite right Nickman. I didn't mean to change the subject. I was responding to "CMP is all you need to know" post.
-
7. Re: CMP vs. BMP
ahardy66 Mar 25, 2004 2:50 PM (in response to rais)The optimisation is basically just the caching that the container does.
So if you have an application which uses lots of the same data over and over, yes it will be faster.
But if you have an app that uses all sorts of different data without much re-use, then there will be no difference. Anyone disagree? The datasource is the same - database & JDBC - so actually the CMP is probably going to be slower, since CMP often makes more calls than you personally would program for any given situation when doing a BMP.
Adam -
8. Re: CMP vs. BMP
pearl81 Mar 25, 2004 10:54 PM (in response to rais)So what do you guys think of CMR? Is that advisable or should we keep relationships out of the container?