which two circumstances does bean A know for certain that continuing the transaction is fruitless?

Session bean A is a client of session bean B. Bean A is using container-managed transactions
and Bean A invokes a business method of bean B. Under which two circumstances does bean A
know for certain that continuing the transaction is fruitless? (Choose two.)

Session bean A is a client of session bean B. Bean A is using container-managed transactions
and Bean A invokes a business method of bean B. Under which two circumstances does bean A
know for certain that continuing the transaction is fruitless? (Choose two.)

A.
Bean A receives an application exception.

B.
Bean Areceives ajava.rmi.RemoteException.

C.
Bean A’s invocationofUserTransaction.getStatus returnsfalse.

D.
Bean A’s invocation of EJBContext.getRollbackOnly returns true.

E.
Bean Areceives ajavax.ejb.EJBTransactionRolledbackException.



Leave a Reply 0

Your email address will not be published. Required fields are marked *