This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
Can someone please tell me what is the default transaction attribute in EJB 2.0,3.0 Container managed transactions.
I think I have somewhere read it is Support for EJB 2.0 and it is Required for EJb 3.0.
But on the internet it is mentioned that the default transaction attribute is dependent on the Application server one is using and the default transaction type varies depending on the server.I could not get one final answer.
Also this could not be verified from the code as one cannot access the presence of a transaction in the EJB bean as it is not allowed while using Container managed transactions.
By default, if a TransactionAttribute annotation is not specified for a method of an enterprise
bean with container-managed transaction demarcation, the value of the transaction attribute for the
method is defined to be REQUIRED.