Tuscany
  1. Tuscany
  2. TUSCANY-1665

Sample to demo DAS with external Transaction Manager

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Java-DAS-Next
    • Fix Version/s: Java-DAS-Next
    • Component/s: Java DAS RDB
    • Labels:
      None

      Description

      Use JOTM/Some other TM with a simple non-web/web sample to show how DAS can participate in externally managed transaction

      1. 1665.patch
        65 kB
        Amita Vadhavkar
      2. 1665.patch
        49 kB
        Amita Vadhavkar
      3. 1665.patch
        58 kB
        Amita Vadhavkar

        Activity

        Amita Vadhavkar created issue -
        Hide
        Amita Vadhavkar added a comment -
        Show
        Amita Vadhavkar added a comment - please see all details from http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg22828.html
        Amita Vadhavkar made changes -
        Field Original Value New Value
        Attachment 1665.patch [ 12365174 ]
        Hide
        Amita Vadhavkar added a comment -

        Please see that the original copyright was preserved in the 2 sample java files and ASF header is not added. Please advise - what needs to be done here.

        Show
        Amita Vadhavkar added a comment - Please see that the original copyright was preserved in the 2 sample java files and ASF header is not added. Please advise - what needs to be done here.
        Hide
        Amita Vadhavkar added a comment -

        Name of new sample is 'transaction'.
        Structure:-
        samples\transaction\build.xml, pom.xml, java.policy, readme.htm

        samples\transaction\src\main\java\org\apache\tuscany\samples\das\customer\MoneyTransfer.java

        samples\transaction\src\main\java\org\apache\tuscany\samples\das\databaseSetup\DatabaseHelper.java

        samples\transaction\src\main\resources\BankAccountDBConfig.xml

        samples\transaction\src\main\resources\BankAccounts.xml

        Show
        Amita Vadhavkar added a comment - Name of new sample is 'transaction'. Structure:- samples\transaction\build.xml, pom.xml, java.policy, readme.htm samples\transaction\src\main\java\org\apache\tuscany\samples\das\customer\MoneyTransfer.java samples\transaction\src\main\java\org\apache\tuscany\samples\das\databaseSetup\DatabaseHelper.java samples\transaction\src\main\resources\BankAccountDBConfig.xml samples\transaction\src\main\resources\BankAccounts.xml
        Amita Vadhavkar made changes -
        Attachment 1665.patch [ 12365274 ]
        Hide
        Amita Vadhavkar added a comment -

        Patch on Sep 6 was using JOTM .
        Patch on Sep 19 is using Geronimo. This TM is used to make use of the
        commonly used TM in SCA and other modules.
        Please see readme for how to run.

        Files changed:
        distribution/binary/pom.xml
        distribution/binary/src/main/assembly/das.xml
        samples/dbconfig/src/main/java/org/apache/tuscany/das/rdb/dbconfig/DBHelper.java
        samples/pom.xml
        <new>samples/transaction/build.xml
        <new>samples/transaction/pom.xml
        <new>samples/transaction/readme.htm
        <new>samples/transaction/src/main/java/org/apache/tuscany/samples/das/databaseSetup/DatabaseSetupUtil.java
        <new>samples/transaction/src/main/java/org/apache/tuscany/samples/das/tx/manager/GeronimoTransactionManagerService.java
        <new>samples/transaction/src/main/java/org/apache/tuscany/samples/das/tx/manager/GeronimoTransactionManagerUtil.java
        <new>samples/transaction/src/main/java/org/apache/tuscany/samples/das/tx/sample/MoneyTransfer.java
        <new>samples/transaction/src/main/resources/BankAccountDBConfig.xml
        <new>samples/transaction/src/main/resources/BankAccounts.xml

        Show
        Amita Vadhavkar added a comment - Patch on Sep 6 was using JOTM . Patch on Sep 19 is using Geronimo. This TM is used to make use of the commonly used TM in SCA and other modules. Please see readme for how to run. Files changed: distribution/binary/pom.xml distribution/binary/src/main/assembly/das.xml samples/dbconfig/src/main/java/org/apache/tuscany/das/rdb/dbconfig/DBHelper.java samples/pom.xml <new>samples/transaction/build.xml <new>samples/transaction/pom.xml <new>samples/transaction/readme.htm <new>samples/transaction/src/main/java/org/apache/tuscany/samples/das/databaseSetup/DatabaseSetupUtil.java <new>samples/transaction/src/main/java/org/apache/tuscany/samples/das/tx/manager/GeronimoTransactionManagerService.java <new>samples/transaction/src/main/java/org/apache/tuscany/samples/das/tx/manager/GeronimoTransactionManagerUtil.java <new>samples/transaction/src/main/java/org/apache/tuscany/samples/das/tx/sample/MoneyTransfer.java <new>samples/transaction/src/main/resources/BankAccountDBConfig.xml <new>samples/transaction/src/main/resources/BankAccounts.xml
        Amita Vadhavkar made changes -
        Attachment 1665.patch [ 12366178 ]
        Hide
        Amita Vadhavkar added a comment -

        Resolved

        Show
        Amita Vadhavkar added a comment - Resolved
        Amita Vadhavkar made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        ant elder added a comment -

        Closing because this has been in RESOLVED state for over one year, if it turns out to not be fixed please reopen.

        Show
        ant elder added a comment - Closing because this has been in RESOLVED state for over one year, if it turns out to not be fixed please reopen.
        ant elder made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Amita Vadhavkar
            Reporter:
            Amita Vadhavkar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development