Wolf-Dieter Fink [
https://community.jboss.org/people/wdfink] created the discussion
"Re: JBoss 7 Without XA Data Sources"
To view the discussion, visit:
https://community.jboss.org/message/758561#758561
--------------------------------------------------------------
No because if you use container managed transaction the contract with the Spec is
- success or BusinessException without rollback annotation -> all resorces are
committed
- fail, RuntimeException or B.Exception with rollback annotation -> all resources are
rolled back
So the behavior is correct.
You might use BeanManagedTx or you mark your CMT Beans accordingly.
E.g. Main SLSB without transaction call different SLSB's to charge and perform action
'that cost money'
This will work in all JEE conform servers in the same way.
Also I suppose that the AS5 and AS6 might also different in that case.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/758561#758561]
Start a new discussion in Datasource Configuration at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]