Quiz

1:Which of the following methods can be used only in CMT?
  1. begin() and commit()

  2. commit() and rollback()

  3. getStatus() and getRollback()

  4. getRollbackOnly() and setRollbackOnly()

A1: D
2:When using JTA for your transactions, which transaction attributes would you require?
  1. Supports

  2. Never

  3. RequiresNew

  4. Mandatory

A2: C
3:If a System exception is thrown from within an EJB with CMT, which of the following is handled automatically by the container?
  1. Stateful session beans

  2. Stateless session beans

  3. Message-driven bean

  4. Bean-managed persistence bean

A3: A, B, C
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.128.173.53