<?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 Process engine spring config file in web project in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/process-engine-spring-config-file-in-web-project/m-p/152574#M107211</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;SPAN&gt;I am using Activiti in my web project with Auto-deployment. As i am using auto-deployment,I am going with activiti spring configuration .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How i initialize my process engine when web project instance created. Can we use processEngine.init() method for activiti spring configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please provide me solution for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;suresh kumar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Dec 2013 10:18:16 GMT</pubDate>
    <dc:creator>sureshtellakula</dc:creator>
    <dc:date>2013-12-12T10:18:16Z</dc:date>
    <item>
      <title>Process engine spring config file in web project</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-engine-spring-config-file-in-web-project/m-p/152574#M107211</link>
      <description>Hi,I am using Activiti in my web project with Auto-deployment. As i am using auto-deployment,I am going with activiti spring configuration .How i initialize my process engine when web project instance created. Can we use processEngine.init() method for activiti spring configuration.Please provide me</description>
      <pubDate>Thu, 12 Dec 2013 10:18:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-engine-spring-config-file-in-web-project/m-p/152574#M107211</guid>
      <dc:creator>sureshtellakula</dc:creator>
      <dc:date>2013-12-12T10:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Process engine spring config file in web project</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-engine-spring-config-file-in-web-project/m-p/152575#M107212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the activiti REST, we use a ServletContextListener (org.activiti.rest.common.servlet.ActivitiServletContextListener) to get hold of the default process-engine. This is when you're not in a spring-context…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In spring-context, use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean" destroy-method="destroy"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;property name="processEngineConfiguration" ref="processEngineConfiguration" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt; If you have services that depend on the process-engine, the engine will be initialized when it's injected in your service for the first time (thats what a factory-bean is for) and will be resued by all services that depend on it. So once the app-context is booted, the engine is booted as wel. I presume you have a ApplicationContextServletContextListener (not sure what the exact name is in Spring) that initialises the spring-context when the webapp boots, so that's what you need…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 07:37:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-engine-spring-config-file-in-web-project/m-p/152575#M107212</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-13T07:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Process engine spring config file in web project</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-engine-spring-config-file-in-web-project/m-p/152576#M107213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your feedback and present i have done POC from standalone application for Autodeployment. I need to implement Activiti Engine in web application with Auto-deployment. Please let me know what are the things i need to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;suresh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 11:37:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-engine-spring-config-file-in-web-project/m-p/152576#M107213</guid>
      <dc:creator>sureshtellakula</dc:creator>
      <dc:date>2013-12-16T11:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Process engine spring config file in web project</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-engine-spring-config-file-in-web-project/m-p/152577#M107214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Take a look how the Activiti-explorer works. Basically, you'll need to wire up your spring-context in the servlet-context (e.g.. using a servlet-listener). A lot depends on the technology you want to use. But from the services you write, make sure you have access to the application-context and extract the process-engine from it (or inject it). Then, you can use our API from within any user-requests, using the framework of your choice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 09:13:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-engine-spring-config-file-in-web-project/m-p/152577#M107214</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-17T09:13:17Z</dc:date>
    </item>
  </channel>
</rss>

