posted 17 years ago
In CMT javax.Transaction.UserTransaction interface methods do not play any role.In CMT EJBContext.setRollbackOnly() plays the same role.
Both the said methods setRollbackOnly and rollback() of UserTransaction is for BMT beans.
One is used to rollback straightaway.(rollback())
Another one is to mark the transaction as doomed.Even if it is doomed the transaction will continue to the end.But will be rolledback.(setRollBack()).
With Regards,<br /> Rajan<br />"Java Rocks"