I think I need some input here to understand why the answer number 5 is correct, the comment on the answer said.
As MySessionBean is using UserTransaction I assume this is BMT in the bean, when it calls anotherMethod if not clear why if anotherBean is a BMT bean the transaction would have been suspended . I'm not sure how anotherMethod can do that and why if anotherBean were BMT this does not happens.Since the question specifies that anotherBean.anotherMethod() executes in the same transaction that is started by myMethod(), anotherBean must be a CMT bean because if it were a BMT bean, the transaction started by myMethod() would have been suspended.
Also if the TX is suspended obviously it can not be marked for rollback.
I need a little more clarification on this answer or if anyone can point me to the EJB specs part that said that will be great.
Any help will be truly appreciated.
Thanks.