Which two are responsibilities of the Bean Provider when throwing the exception?

A session bean’s business method throws an exception during execution.
Which two are responsibilities of the Bean Provider when throwing the exception? (Choose two.)

A session bean’s business method throws an exception during execution.
Which two are responsibilities of the Bean Provider when throwing the exception? (Choose two.)

A.
For application exceptions, ensure that if the current transaction commits there will be no loss

of data integrity.

B.
For application exceptions, ensurethatthe current transaction will commit.

C.
For system errors, when the client is remote, throw a java.rmi.RemoteException that wraps the
original exception.

D.
For checked exceptions from which the bean cannot recover, throw an EJBException that
wraps the original exception.



Leave a Reply 0

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