Interview Questions

What is the default transaction attribute for an EJB?

EJB Interview Questions and Answers


(Continued from previous question...)

27. What is the default transaction attribute for an EJB?

There is no default transaction attribute for an EJB. Section 11.5 of EJB v1.1 spec says that the deployer must specify a value for the transaction attribute for those methods having container managed transaction. In WebLogic, the default transaction attribute for EJB is SUPPORTS.

(Continued on next question...)

Other Interview Questions