Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Entity beans and transactions

Vipin Mohan
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends
I have some questions regarding the transactional behavior of entity beans.
1. Why do the specs specify that entity beans cannot support bean managed transactions ? I can understand it in the case of CMP beans. But in the case of BMP beans, why can't the programmer be allowed to manage the transactions ?
2. I read that for portable entity beans , only the Required, RequiresNew, or Mandatory transaction attributes must be used. What is the logic behind this rule ?
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!