<?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 Non-Spring JPA Transactions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/non-spring-jpa-transactions/m-p/170984#M124249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I will be using a non-JTA persistence unit (eg &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;persistence-unit transaction-type="RESOURCE_LOCAL"&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;).&amp;nbsp; And I will sometimes be creating an EntityManager and transaction, doing work in my code, and then calling Activiti.&amp;nbsp; And of course, other times, Activiti will be creating its own em and transaction, and calling my application code.&amp;nbsp; How can I configure Activiti to get/put the em from/to Guice or CDI?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Somewhat related: I know that Spring support in Activiti is not required, but with the documentation and the "Activiti in Action" book referencing Spring so much, it makes me worried about how stable/fully functional Activiti will be without it.&amp;nbsp; For instance, the Activiti documentation for JPA seems to assume that Spring will be used– which in my case it will not.&amp;nbsp; Unless it is just the documentation, then It seems like Spring and Activiti are currently tightly coupled, and I will lose important functionality unless I use Spring.&amp;nbsp; It seems that Activiti should have had a Spring "plugin" that could be swapped out for a Guice or CDI "plugin".&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Dec 2013 06:45:26 GMT</pubDate>
    <dc:creator>bthule</dc:creator>
    <dc:date>2013-12-02T06:45:26Z</dc:date>
    <item>
      <title>Non-Spring JPA Transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/non-spring-jpa-transactions/m-p/170984#M124249</link>
      <description>I will be using a non-JTA persistence unit (eg &amp;lt;persistence-unit transaction-type="RESOURCE_LOCAL"&amp;gt;‍).&amp;nbsp; And I will sometimes be creating an EntityManager and transaction, doing work in my code, and then calling Activiti.&amp;nbsp; And of course, other times, Activiti will be creating its own em and tra</description>
      <pubDate>Mon, 02 Dec 2013 06:45:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/non-spring-jpa-transactions/m-p/170984#M124249</guid>
      <dc:creator>bthule</dc:creator>
      <dc:date>2013-12-02T06:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Non-Spring JPA Transactions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/non-spring-jpa-transactions/m-p/170985#M124250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;They are not tightly coupled. you can use Acitviti without Spring, if you configure the process-engine in code. See the userguide for samples on that. So you won't have a actviti.cfg.xml, instead, you'll be setting the right properties on a ProcessEngineCOnfiguration and building an engine off that instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 09:44:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/non-spring-jpa-transactions/m-p/170985#M124250</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-05T09:44:00Z</dc:date>
    </item>
  </channel>
</rss>

