This content has been marked as final. Show 2 replies
'Supports' is the default <trans-attribute> value in WebLogic Server.
"Aidan" <firstname.lastname@example.org> wrote:
I was wondering how WLS handles a transaction on a CMT EJB session bean
not have <trans-attrbute> defined for it.
For example, I have the following entry in ejb-jar.xml:
However, there is no <container-transaction> in the <assembly-descriptor>
of the deployment descriptor file. I assume that the "default" transaction
is "Supports", but could find no documentation to tell me that. I looked
EJB Specification, but did not see an answer there. Perhaps it is left
up to the
vendor, such as WL. I was expecting WL to throw an exception about this
but it did not. I just started a new job and was surprised to see that
their EJBs defined this way -- I've not experienced this before. Apparently
declaration has been working for them for some time. They are using WLS
If anyone has any insight into this, especially definitive documentation
states how this case is handled, please let me know.
we have recently migrated from weblogic 6.1 sp4 to weblogic 8.1sp6. There are few methods in our ejb that does not have trans-attribute set in ejb-jar.xml(for eg. if the ejb has 10 methods, only 6 methods have trans-attribute set in ejb-jar.xml and the remaining 4 method does not have trans-attribute).
Could any one tell how weblogic 6.1 handles(type of trans-attribute) if any method does not have trans-attribute in ejb-jar.xml?
I would also like to know if the default behaviour has been changed from weblogic 6.1 to weblogic 8.1.