[
https://issues.apache.org/jira/browse/TUSCANY-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529794
]
gengshaoguang commented on TUSCANY-1803:
----------------------------------------
Thanks Amita:
I will try my best.
I would like to vote on the DataSourceTM, because with DAS in fact, we controll
the DataSource/Connection by our self (by the caller object). I think what we
expect is the container managed TM.
The DASTM will actually paly like what you mentioned in your picture. If there
is no change to the DAS itself.
Since we have proxy for any component inside Tuscany, why not use it for our
goal?
::Let the proxy begin the transaction(at top of the invoke), intercept
exceptions out from those components it refer, and roll back the transaction.
If no exception occured, the proxy (at top) will commit the transaction.
During this process, any nested component/proxy should judge itself wether it
is inside a parent transaction, if it dose, it should not start its own
transaction.
> expections to Amita's Transaction picture
> -----------------------------------------
>
> Key: TUSCANY-1803
> URL: https://issues.apache.org/jira/browse/TUSCANY-1803
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA Java Implementation Extension
> Affects Versions: Java-SCA-Next
> Reporter: gengshaoguang
> Attachments: local_transaction.png
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]