What is the default transaction attribute in transactions

Showing Answers 1 - 7 of 7 Answers

venu

  • Mar 27th, 2006
 

it is required in ejb

  Was this answer useful?  Yes

xhisydsdyd

  • Mar 27th, 2006
 

In weblogic, the default transaction attribute for EJB is SUPPORTS.
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.

  Was this answer useful?  Yes

Rajakumar

  • Apr 4th, 2006
 

No the default tranasaction attribute is Supports which is fixed by the container

  Was this answer useful?  Yes

Sridhar Shetty Gorenty

  • Apr 6th, 2006
 

There is no default transaction attribute for an EJB.

In weblogic, the default transaction attribute for EJB is SUPPORTS.

For specifically, For Session Beans, the default Transaction Attribute is Required, For Entity Beans is Supports.

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.

  Was this answer useful?  Yes

Venkateswarlu Prabhala

  • Oct 18th, 2006
 

TX_REQURIED is the default Attribute for EJB Transaction in WebSphere Studio. this is well-suited for EJB Sessions

  Was this answer useful?  Yes

The default choice for a transaction attribute is Required. Using this attribute ensures that the methods of an enterprise bean are invoked within a JTA transaction. In addition, enterprise beans with the Required transaction attribute can be easily composed to perform work within the scope of a single JTA transaction.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions