File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CMP over BMP ?

 
sim sim
Ranch Hand
Posts: 55
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic