• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CMP over BMP ?

 
sim sim
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the advantages / disadvantages of CMP over BMP ?
 
Karl Laird
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Biggest advantage of CMP over BMP is that the continer handles the transactional control aspects and also issues relating to caching of information, retrieval of db / data store information and concurrency problems.
BMP is more flexible but requires the programmer to explicitly control all of the above, which limits portability and also increases maintenance requirements
 
sun_guoqiao
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But with CMP, the performance seemed not so satisfactory. So I have to write my own finder method in the CMP class. :-)
Anybody else got better idea?
Guoqiao
Originally posted by Karl Laird:
Biggest advantage of CMP over BMP is that the continer handles the transactional control aspects and also issues relating to caching of information, retrieval of db / data store information and concurrency problems.
BMP is more flexible but requires the programmer to explicitly control all of the above, which limits portability and also increases maintenance requirements
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic