nerdexam
Oracle

1Z0-895 · Question #92

1Z0-895 Question #92: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-895 to reveal the answer and full explanation for question #92. The question stem and answer options stay visible for context.

Question

A developer implements a CMT session bean with a method storeBoth which inserts data both a related database and an LDAP server. The relational database supports transactions while the LDAP system does NOT. Given that both updates should succeed or be rolled back, while is the best solution?

Options

  • AImplement the SessionSynchoronization interface in the session bean. In the afterCompleteion method,
  • BDefine the transaction attribute of the method storeBoth as REQUIRED. The container manages the
  • CDefine the transaction attribute of the method storeBoth as REQUIRED_NEW. Carry out the database
  • DDefine the transaction attribute of the method storeBoth as REQUIRED_NEW. Carry out the LDAP

Unlock 1Z0-895 to see the answer

You've previewed enough free 1Z0-895 questions. Unlock 1Z0-895 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-895 Practice