Java EJB Programming Question:

Download Job Interview Questions and Answers PDF

What is the default transaction attribute for an EJB?

Java EJB Programming Interview Question
Java EJB Programming Interview Question

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 Interview Questions And Answers PDF

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?