Hello,
a) I agree with you with, the container does not throw any exception.
bi) Yes, if you set the appropiate transaction attribute.
bii) The container will just mark the transaction to be rolledback so the client that initiated the transaction (e.g. another
ejb, a
servlet) has to manage the transaction. Some code like this needs to be added to the client:
if (utx.getStatus() == Status.STATUS_MARKED_ROLLBACK) {
utx.rollback();
}
else {
utx.commit();
}
Hope this helps,
Manuel