Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what's the difference between cmp and bmp?  RSS feed

 
pownraj kasi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am am beginner in ejb.so anyone just help me.
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A CMP bean has to take care of its own database operations (reading, writing, transactions, etc.), a BMP bean is lazy and lets the application server do all the hard work for it.

That's less flexible, less portable, can make for more obscure code, but it takes a bit less code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!