Java EJB Programming Question:

What is the default transaction attribute for an EJB?

Tweet Share WhatsApp

Answer:

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.

Download Java EJB Programming PDF Read All 27 Java EJB Programming Questions
Previous QuestionNext Question
Is it possible to stop the execution of a method before completion in a SessionBean? What is the difference between session and entity beans? When should I use one or the other?