hi
Here is a mock question from an IBM sample
test. It says this question has 2 correct answers. However I can find only one.
While testing a session bean configured with "Bean Managed", a developer discovers that a TransactionRolledBackException is being thrown by a call to a method on an entity bean. The session bean, prior to calling the method, explicitly started the transaction. Possible causes for the exception are that the:
A. entity bean method is throwing a checked exception and is configured with a transaction attribute of "Required".
B. entity bean method is throwing an unchecked exception and is configured with a transaction attribute of "Required".
C. entity bean does not throw an exception but is configured with a transaction attribute of "Not Supported".
D. entity bean method is throwing an exception and is configured with a transaction attribute of "Requires New".
B is a correct answer. Is there any other correct choice ?
Thanks
Vipin