<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: explorer transactionality in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/explorer-transactionality/m-p/9804#M3582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Frederik,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If activiti-explorer runs on server A and activiti-rest on server B, how can the activiti engine running on server B participate in the transaction that the service task on server A uses to update the database , using XA ? WS-AtomicTransaction would be an option on our application server (weblogic) but then activiti-rest would no longer be rest and i would have to modify a lot of things i think. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe if we keep explorer and rest app on the same server it might be easier, but reading from the forum it seems that such XA support is in the pipeline still for activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your thoughts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jorg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Feb 2011 14:48:42 GMT</pubDate>
    <dc:creator>heymjo</dc:creator>
    <dc:date>2011-02-24T14:48:42Z</dc:date>
    <item>
      <title>explorer transactionality</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/explorer-transactionality/m-p/9802#M3580</link>
      <description>Hi,Since the explorer uses REST to drive all its workflow interactions from the work list, how can one guarantee good transactional behaviour for the case where for example a java service task updates another database schema ? It is possible that the service task runs through fine and commits, but t</description>
      <pubDate>Thu, 24 Feb 2011 13:09:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/explorer-transactionality/m-p/9802#M3580</guid>
      <dc:creator>heymjo</dc:creator>
      <dc:date>2011-02-24T13:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: explorer transactionality</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/explorer-transactionality/m-p/9803#M3581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The explorer indeed just uses rest-api to communicate to the engine. So if you want to use ServiceTasks that update other DB, the java-code will have to run inside the activiti-rest webapp, the same app where the used activiti engine is running. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to update own DB-tables that live inside the same datasource as activit tables do, you can leverage Spring transactionmanager to integrate your services (and entities) using the same transactionmanager (good example of this can be found in the userguide, Spring and JPA chapters: &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#N1140A" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#N1140A&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#N10479" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#N10479&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to use different DataSource, you'll have to use XA-transactions, like you would in any other java app with this requirement…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 13:42:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/explorer-transactionality/m-p/9803#M3581</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-02-24T13:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: explorer transactionality</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/explorer-transactionality/m-p/9804#M3582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Frederik,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If activiti-explorer runs on server A and activiti-rest on server B, how can the activiti engine running on server B participate in the transaction that the service task on server A uses to update the database , using XA ? WS-AtomicTransaction would be an option on our application server (weblogic) but then activiti-rest would no longer be rest and i would have to modify a lot of things i think. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe if we keep explorer and rest app on the same server it might be easier, but reading from the forum it seems that such XA support is in the pipeline still for activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your thoughts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jorg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 14:48:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/explorer-transactionality/m-p/9804#M3582</guid>
      <dc:creator>heymjo</dc:creator>
      <dc:date>2011-02-24T14:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: explorer transactionality</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/explorer-transactionality/m-p/9805#M3583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Explorer doesn't actually execute the process (and execute the service-tasks), the rest-webapp does this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 15:14:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/explorer-transactionality/m-p/9805#M3583</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-02-24T15:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: explorer transactionality</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/explorer-transactionality/m-p/9806#M3584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;8-)&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that somehow was not clear to me. Excellent !!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 08:14:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/explorer-transactionality/m-p/9806#M3584</guid>
      <dc:creator>heymjo</dc:creator>
      <dc:date>2011-02-25T08:14:27Z</dc:date>
    </item>
  </channel>
</rss>

