which statement is true of the getCustomerBalance method?

Consider the following partial XML descriptor for the CustomerBean:

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

Consider the following partial XML descriptor for the CustomerBean:

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

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

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

C.
The getCustomerBalance method will never run within a transaction.

D.
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.



Leave a Reply 0

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