Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1498

Support JTA transactions

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 3.0.0.Alpha5
    • 3.0.0.Alpha1
    • JCR, Transactions
    • None

    Description

      ModeShape 3 should support participating in (local and distributed) JTA transactions, allowing ModeShape repositories to be used within:

      • clients that explicitly manage user transactions (see Section 21.2 of the JSR-283 specification);
      • EJBs that use container-managed transactions; and
      • EJBs that use bean-managed transactions.

      Additionally, clients should be able to explicitly enlist a Session (i.e., a XAResource) with an XA transaction, and even allow a single Session to be used across multiple (sequential) transactions or multiple Sessions to be enlisted within a single transaction (see Section 21.4 of the JSR-283 specification).

      When a client enlists only a single ModeShape Session in a transaction, ideally only a single XAResource would be enlisted in the transaction so that transaction managers can optimize the 2PC across a single resource into a 1PC. This means that ideally ModeShape would not register both its own XAResource and Infinispan's XAResource.

      Attachments

        Issue Links

          Activity

            People

              rhauch Randall Hauch (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: