• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a mock question about transcation

 
chao cai
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
KQ8: Which two are true about bean-managed transaction demarcation?
A) A transaction used by a BMT bean MUST have been started by the bean.
B) The caller's transaction will be propagated into a BMT bean.
C) Transactions in a BMT bean do not propagate when the BMT bean calls a method on another bean.
D) A bean cannot use both CMT and BMT together.
E) BMT beans must not specify transaction attributes.
the answer is D E why A,C is incorrect,
Transactions in a BMT bean can be propagate to a CMT
 
Praveen Kumar Mathaley
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
KQ8: Which two are true about bean-managed transaction demarcation?
A) A transaction used by a BMT bean MUST have been started by the bean.
B) The caller's transaction will be propagated into a BMT bean.
C) Transactions in a BMT bean do not propagate when the BMT bean calls a method on another bean.
D) A bean cannot use both CMT and BMT together.
E) BMT beans must not specify transaction attributes.
the answer is D E why A,C is incorrect,

Regarding answer A, I think the wording may not be correct
A BMT bean transaction should be started by same bean itself
Yes C Is incorrect as Transaction from BMT Bean can be propagated to CMT Bean.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic