Comment UserTransaction se propage?

J'ai un stateless bean avec bean-managed transactions, et une méthode comme ceci:

@Stateless
@TransactionManagement(TransactionManagementType.BEAN)
public class ... {

    @Resource 
    private UserTransaction ut;
    @EJB 
    private OtherStatelessBeanLocal other;

    public void invokeSomeMethods() 
        ut.begin();
        ...

        //invoke other bean's methods here.
        other.method();

        ...
        ut.commit();

    }

}

Donc comment le UserTransaction se propager à l' OtherStatelessBeanLocal bean?

source d'informationauteur Truong Ha