Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10312

Create test for ejb client looking up transaction via txn:UserTransaction

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Optional Optional
    • None
    • None
    • EJB, Test Suite, Transactions
    • None

      Example code at https://github.com/jmartisk/mock-artifacts/blob/master/ejbclient/eap7.1-provider-url-with-transactions-secured/client/src/main/java/client/Client.java

      Client looking up transaction via txn:UserTransaction

      • positive scenario (commit):
        • begin transaction on client side
        • invoke a bean with @TransactionAttribute(MANDATORY)
        • commit
        • check that the transaction was committed
      • negative scenario (rollback):
        • begin transaction on client side
        • invoke a bean with @TransactionAttribute(MANDATORY)
        • rollback
        • check that the transaction was rolled back

              jmartisk@redhat.com Jan Martiska
              jmartisk@redhat.com Jan Martiska
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: