PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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.
Regardless of whether the current thread has a transaction, the EJB container will always
provide a new transaction.

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


Leave a Reply