1Z0-133 practice question 19 of 25
You are troubleshooting Java Transaction API (JTA) transactions. The WebLogic Server extension to JTA provides which optional transaction attribute to make troubleshooting easier?
Full set: 126 questionsThe WebLogic Server extension to the Java Transaction API (JTA) is provided through the weblogic.transaction.Transaction interface, which extends the standard javax.transaction.Transaction. This extended interface includes the setName(String name) method. This method allows developers to assign an optional, descriptive name to a transaction. This name is then visible in the WebLogic Server Administration Console and is written to transaction log files, making it significantly easier to identify and troubleshoot specific transactions in a complex environment.
B. A transaction ID (Xid) is a mandatory, fundamental part of the standard JTA specification (javax.transaction.Transaction), not an optional WebLogic extension.
C. The status of "marked for rollback" is a standard transaction state defined by the JTA specification, retrievable via the getStatus() method, not a separate optional attribute.
D. A transaction status is a core, required component of the standard JTA specification (javax.transaction.Transaction), not an optional extension provided by WebLogic for troubleshooting.
1. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server
weblogic.transaction.Transaction Interface:
Reference: The documentation for the setName(String name) method explicitly states
"Assigns a name to this transaction. The name is useful for debugging." This confirms that the 'name' is the optional attribute for troubleshooting.
Source: Oracle WebLogic Server 12.2.1.4.0 Javadoc
weblogic.transaction package summary and Transaction interface detail.
2. Oracle Fusion Middleware Programming JTA for Oracle WebLogic Server
"Using WebLogic JTA Extensions":
Reference: Section "The weblogic.transaction.Transaction Interface". This section describes the extensions WebLogic provides to the standard JTA Transaction object
including the ability to set properties on the transaction. The setName() method is a key example of such a property used for monitoring and debugging.
Source: Oracle WebLogic Server 12.2.1.4.0 Documentation
"Programming JTA for Oracle WebLogic Server".
Keep practicing
Take the free 1Z0-133 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 1Z0-133 practice questions
- Question 1Your domain consists of 30 servers. You are using the Administration Console. Which is th…
- Question 2Before you view JVM performance information in the administration console, you want to re…
- Question 3You create a new Managed Server in your domain by using the administration console. You g…
- Question 4An application fails. The exception Indicates that the JDEM data source cannot be found. …
- Question 5Consider a data source whose Inactive Connection Timeout has been set to 60 seconds. You …
- Question 6You are running WebLogic Server under a 64-bit HotSpot JVM. You edit your domain’s setDom…
