Which of these conditions could this be possible?

A stateless session bean’s business method invokes EJBContext.setRollBackOnly and receives an IllegalStateException.
Under which of these conditions could this be possible?
A. The business method is marked with the MANDATORY transaction attribute.
B. The business method is marked with the NONSUPPORTED transaction attribute.
C. This Is NOT possible; a stateless session bean cannot invoke EJBContext.SetRollBackOnly.
D. The bean has no metadata (in annotations 01 deployment descriptor) which specifies the transaction attribute for the method.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.