You need to configure WebLogic Server to satisfy the needs of your new application that will
update more than one data set on several databases in the same transaction.
Which setting should be considered?
A.
EnableusexaDatasourceinterfacein the transactionproperties of each data source.
B.
WebLogic Server supports distributedtransactionsby default, so on specific settingsare
required.
C.
Split the transaction into multiple local transactions.
D.
Configureyour data sources with the available XA-compliant driver for your DBMS.
E.
Enable Two-phasecommit in each data source.
Correct answer: D (I think)
Answer : /D
Explanation : For XA drivers, the system automatically selects the Two-Phase Commit protocol for global transaction processing.
So E is wrong.
Source : http://docs.oracle.com/cd/E23943_01/web.1111/e13737/transactions.htm#JDBCA470
D
There is nothing in this question which states that you have datasources which actually have XA drivers available, so I think E is the correct answer here…?
I’ve been thinking about the wording of this question… “Which setting should be *considered*?”. As such, the best thing to do is to use XA drivers, so you should *consider* whether you can use them. Hence I now think D is correct.