aspose 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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: 10102
    
165

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