Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3309 Development EJB: Transaction Behavior of EJB Invocations: Client-side Invocations
  3. JBEAP-5138

Create a new subsection after code of {{UserTransaction Code}} Example that would show the same thing as EJB remoting, but for IIOP call

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Documentation
    • None

      The intention is to have a new subsection after code of UserTransaction Code Example that would show the same thing but not for EJB remoting but for IIOP call. Basically there is two (main) ways how to call an ejb and propagate a transaction with this call - ejb remoting which is already covered in this section and iiop call that is currently covered nowhere. So my intention is to have here a example how to start a transaction on client and that transaction will be propagated to server.

      Here should be aimed on transaction started on client propagated to server via iiop call.
      Example of how to start a transaction on client and propagate (which is transparent process to a user) to a server is as mentioned in quickstarts: https://github.com/wildfly/wildfly/blob/master/testsuite/integration/iiop/src/test/java/org/jboss/as/test/iiop/client/. Having this being set is a bit more complex process. You can check the testcase
      https://github.com/wildfly/wildfly/blob/master/testsuite/integration/iiop/src/test/java/org/jboss/as/test/iiop/client/IIOPTransactionPropagationTestCase.java#L114
      The @Test itself uses Util class and do first preparation in @BeforeClass and then uses calls like commit and rolled back called to Util class again. My idea was to summarize this testcase into documentation with some description.

              rhn-support-tradej Tomas 'Sheldon' Radej
              rhn-support-pnag Priyanka Nag
              Ondrej Kotek Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: