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 A receives a java.rmi.RemoteException.

C.
Bean A’s invocation of UserTransaction.getStatus returns false.

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

E.
Bean A receives a javax.ejb.EJBTransactionRolledbackException.



Leave a Reply 0

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