Oracle WebLogic Server 12c: Administration I — Question 6
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?
Answer options
- A. Enable use xa Data source interface in the transaction properties of each data source.
- B. WebLogic Server supports distributed transactions by default, so on specific settings are required.
- C. Split the transaction into multiple local transactions.
- D. Configure your data sources with the available XA-compliant driver for your DBMS.
- E. Enable Two-phase commit in each data source.
Correct answer: E
Explanation
The correct answer, E, is essential for ensuring that all parts of the transaction either complete successfully or roll back together, which is crucial for data consistency across multiple databases. Options A and D are related but do not guarantee the transactional integrity needed for multiple databases. Option B is incorrect because while WebLogic does support distributed transactions, specific configurations like two-phase commit are necessary for proper management. Option C is not suitable since splitting transactions would risk data integrity.