which following statement is true of the getEmployeelD method?

Consider the following partial XML descriptor for the EmployeeBean:

Given this partial XML descriptor, which following statement is true of the getEmployeelD method?

Consider the following partial XML descriptor for the EmployeeBean:

Given this partial XML descriptor, which following statement is true of the getEmployeelD method?

A.
Regardless of whether the current thread has a transaction, the EJB container will always
provide a new transaction.

B.
The EJB container will provide a new transaction if the current thread does not already have
one. If the current thread has a transaction, the getEmployeelD method will run within that
transaction.

C.
If the current thread has a transaction, the getEmployeelD method will run in that transaction. If
there is no current transaction, the EJB container will not provide one.

D.
A transaction must be in place when the getEmployeelD method is called. If there is no current
transaction, an exception is thrown.



Leave a Reply 0

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