• Post Reply Bookmark Topic Watch Topic
  • New Topic

Container Managed Persistence  RSS feed

 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!