nerdexam
Oracle

1Z0-898 · Question #6

Given the following stateless session bean implementation classes: Assuming no other transaction-related metadata, what are the transaction attributes on methodB, and method C respectively?

The correct answer is B. REQUIRED, MANDATORY, and REQUIRES_NEW. *TransactionAttributeType The enum TransactionAttributeType is used with the TransactionAttribute annotation to specify whether the methods of a session bean or message driven bean are called with a valid transaction context.

Advanced Topics

Question

Given the following stateless session bean implementation classes:

Assuming no other transaction-related metadata, what are the transaction attributes on methodB, and method C respectively?

Exhibit

1Z0-898 question #6 exhibit

Options

  • AMANDATORY, MANDATORY, and MANDATORY
  • BREQUIRED, MANDATORY, and REQUIRES_NEW
  • CMANDATORY, MANDATORY, <and REQUIRES__NEW
  • DREQUIRED, REQUIRES_NEW, and REQUIRES_NEW

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    83% (34)
  • C
    10% (4)
  • D
    5% (2)

Explanation

*TransactionAttributeType The enum TransactionAttributeType is used with the TransactionAttribute annotation to specify whether the methods of a session bean or message driven bean are called with a valid transaction context.

Topics

#transaction attributes#REQUIRED#MANDATORY#REQUIRES_NEW

Community Discussion

No community discussion yet for this question.

Full 1Z0-898 Practice