Hi All :
I am looking at the BMP or CMP issue, I get to propose which way our team should go ?
Do you have any idea on that ?
LL
-
BMP or CMP (3 messages)
- Posted by: Lawrence Leung
- Posted on: August 22 2000 23:58 EDT
Threaded Messages (3)
- BMP or CMP by devendra Singh on August 24 2000 02:00 EDT
- BMP or CMP by Jay Builder on September 07 2000 00:19 EDT
- BMP or CMP by G_R_ Beniwal on November 14 2000 05:19 EST
- BMP or CMP by Jay Builder on September 07 2000 00:19 EDT
-
BMP or CMP[ Go to top ]
- Posted by: devendra Singh
- Posted on: August 24 2000 02:00 EDT
- in response to Lawrence Leung
Hi Lawrence,
There is same discussion thred here under Performance section.
Okay, First we will see what is BMP and What is CMP.
In CMP, the contaier is responsible for the Persitence related Handling. The programmer need not to worry about the persistence related code. He can simply focus on the Business logic.
In BMP, the programmer has to write all the persisitence related code. Definitely if programmer is well worse with database programming and he can write efficient code, BMP can be efficiet.
Other than this BMP is not giving any advantage. Yes, if you have requirement to map more than one Table to one entity bean you have to go for BMP.
But see, if the requirement is not like that, Than definitely we should go CMP only. After all it is well tested code. If you have specific queried please let me know.
Cheers,
Devendra -
BMP or CMP[ Go to top ]
- Posted by: Jay Builder
- Posted on: September 07 2000 00:19 EDT
- in response to devendra Singh
What does BMP and CMP stand for?
Thanks -
BMP or CMP[ Go to top ]
- Posted by: G_R_ Beniwal
- Posted on: November 14 2000 05:19 EST
- in response to Jay Builder
BMP = Bean Managed Persistance
CMP = Container Managed Persistance
These are theoritical defenitions , the related details u can find in any book .
Gary
gary@escosoft-tech.com