Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entity beans

 
sonali rao
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know if this question has already been brought up earlier.
This is question no:49, Pg 673 of HF EJB book.
What are true about transactions in EJB 2.0?
The option c which says " Entity Beans with BMT demarcation must use the getStatus method instead of the getRollbackOnly method." is marked as correct.
Whys is this option marked as correct? Entity Beans are not supposed to have BMT demarcation right.
 
Anthony Watson
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct on both, it has been brought up before, and entity beans can only use CMT so this question contains a mistake.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic