HF EJB says that its possible only for BMT .. And u can not call getUserTransaction on CMT stateless ....its the same thing that spec says ..
Originally posted by Constantino Cronemberger:
On page 90 of the spec. it says you can call getUserTransaction for BMT, but it does not say you can call methods on this UserTransaction.
Have a look at the business method row. There you can find the line "UserTransaction" methods.
Originally posted by Ramakrishna Allam:
If this is the case, i have got another doubt which hasnt been clarified . afterCompletion in CMT stateful method , though doesnt have transaction context , has a security conetext . But surprisingly, it doesnt have access to resource managers and other enterprise beans.