• Post Reply Bookmark Topic Watch Topic
  • New Topic

Container Managed Persistence

 
Vinayagam Kulandaivel
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Techies,

Y professionals recommend CMP most of the times instead of BMP.
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The preliminary advantage of BMP is the flexiability for transactions. However, containers can provide services that program cannot be done, like ganging multiple calls to DB using native code, lazy loading, etc.

Thus, it is better to use CMP.

Nick
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!