Re: [JBoss-user] [Beginners Corner] - Re: CMP vs. BMP
[EMAIL PROTECTED] wrote: So what do you guys think of CMR? Is that advisable or should we keep relationships out of the container? I would recommend to look at Delegation-Managed Persistence Pattern: http://www.sys-con.com/story/?storyid=43552&DE=1 It's much more general and elegant from OOD point of view than CMR, IMHO. Vlad --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: CMP vs. BMP
So what do you guys think of CMR? Is that advisable or should we keep relationships out of the container? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827542#3827542";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827542>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: CMP vs. BMP
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 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827481#3827481";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827481>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: CMP vs. BMP
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. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827225#3827225";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827225>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: CMP vs. BMP
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. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826504#3826504";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826504>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: CMP vs. BMP
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 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825505#3825505";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825505>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: CMP vs. BMP
JBoss CMP is all you need. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825489#3825489";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825489>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: CMP vs. BMP
I just want to here what other peoples opinion. is that true, that you should always use CMP? What is fastest and why??? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825220#3825220";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825220>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: CMP vs. BMP
So what is wrong with that answer? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825219#3825219";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825219>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user