which statement is true of all methods except the getEmployeelD method?

Consider the following partial XML descriptor for the EmployeeBean:

Given this partial XML descriptor for the EmployeeBean, which statement is true of all methods
except the getEmployeelD method?

Consider the following partial XML descriptor for the EmployeeBean:

Given this partial XML descriptor for the EmployeeBean, which statement is true of all methods
except the getEmployeelD method?

A.
If the current thread is not involved in a transaction, the EJB container will not provide one. If
the current thread is involved in a transaction, the transaction is suspended, the method is
executed, and the thread’s transaction is resumed.

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

C.
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 method will run within that transaction

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



Leave a Reply 0

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