<?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 Does Activiti really need spring? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/does-activiti-really-need-spring/m-p/170289#M123585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, this is more design level than anything else.&amp;nbsp; My application today makes heavy use of CDI.&amp;nbsp; It seems like Activiti comes bundled with Spring.&amp;nbsp; Based on this note, I was surprised to see it as a hard requirement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that the configuration XML is in fact a Spring configuration. This does not mean that Activiti can only be used in a Spring environment! We are simply leveraging the parsing and dependency injection capabilities of Spring internally for building up the engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, is it possible for me to exclude Spring from my application, assuming that I bootstrap Activiti manually using something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ProcessEngine processEngine = ProcessEngineConfiguration.createStandaloneInMemProcessEngineConfiguration()&lt;BR /&gt;&amp;nbsp; .setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_FALSE)&lt;BR /&gt;&amp;nbsp; .setJdbcUrl("jdbc:h2:mem:my-own-db;DB_CLOSE_DELAY=1000")&lt;BR /&gt;&amp;nbsp; .setJobExecutorActivate(true)&lt;BR /&gt;&amp;nbsp; .buildProcessEngine();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2014 13:19:05 GMT</pubDate>
    <dc:creator>johnament1</dc:creator>
    <dc:date>2014-04-02T13:19:05Z</dc:date>
    <item>
      <title>Does Activiti really need spring?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/does-activiti-really-need-spring/m-p/170289#M123585</link>
      <description>So, this is more design level than anything else.&amp;nbsp; My application today makes heavy use of CDI.&amp;nbsp; It seems like Activiti comes bundled with Spring.&amp;nbsp; Based on this note, I was surprised to see it as a hard requirement.Note that the configuration XML is in fact a Spring configuration. This does not mea</description>
      <pubDate>Wed, 02 Apr 2014 13:19:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/does-activiti-really-need-spring/m-p/170289#M123585</guid>
      <dc:creator>johnament1</dc:creator>
      <dc:date>2014-04-02T13:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Does Activiti really need spring?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/does-activiti-really-need-spring/m-p/170290#M123586</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;Activiti engine does not depend on the spring. Only on spring beans&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;groupId&amp;gt;org.springframework&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;spring-beans&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/dependency&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;You can instantiate process engine without spring configuration too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 06:38:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/does-activiti-really-need-spring/m-p/170290#M123586</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-04-03T06:38:17Z</dc:date>
    </item>
  </channel>
</rss>

