File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Default behaviour of TransactionAttributeType in case TransactionManagementType.CONTAINER Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Default behaviour of TransactionAttributeType in case TransactionManagementType.CONTAINER" Watch "Default behaviour of TransactionAttributeType in case TransactionManagementType.CONTAINER" New topic
Author

Default behaviour of TransactionAttributeType in case TransactionManagementType.CONTAINER

Anurag Blore
Ranch Hand

Joined: Jan 15, 2003
Posts: 74
All,

If in my stateless bean I have set the TransactionManagementType.CONTAINER(Container Manage Transaction) but I have not set anything in the bean or methods in the bean for


Then what will be the default value set for TransactionAttributeType, I am asking this in general and if its dependent on the application server then its jboss4.2.
I mean TransactionAttributeType is set to which value: REQUIRED,REQUIRESNEW,NOTSUPPORTED,SUPPORTS...etc.

Thanks,
Anurag
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 8142
    
  52

As per the EJB3 spec section 13.3.7:

By default, the value of the transaction attribute for a method of a bean with container-managed transaction demarcation is the REQUIRED


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Default behaviour of TransactionAttributeType in case TransactionManagementType.CONTAINER
 
Similar Threads
defaulting " SelectOne Radio"
jsp:getProperty action
Persit method strange behaviour
Entity Managers - Types
jsp:useBean Doubt?