<?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: General, easy question in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/general-easy-question/m-p/171557#M124802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What bmakmann says, is right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So is normally there a jvm running somewhere with that object instantiated all the time, that processes can attach to and use ? An Activiti "server" so to speak ? It doesn't seem like from the Manning book…..but maybe that comes later ….. ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no JVM running at all times. The moment when you call the buildProcessEngine(), a process-engine is created an kept in memory in the current JVM, the method was called from. You can start using it's API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As said before, for testing reasons, we sometimes recreate the process-engine. If it's in-memory, this is not such a costly operation and even then, for testing it doesn't really matter. If you're using the engine in an app, it generally is booted once (using webapp-context listener or spring/CDI) and shut down once.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jan 2014 10:53:15 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2014-01-09T10:53:15Z</dc:date>
    <item>
      <title>General, easy question</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/general-easy-question/m-p/171555#M124800</link>
      <description>HelloI've just started with Activiti - I notice in the Manning book, all the java code everywhere starts with the instantiation of a processEngine object like&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessEngine processEngine = ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration().buildProcessEngine(); But the API</description>
      <pubDate>Wed, 08 Jan 2014 22:32:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/general-easy-question/m-p/171555#M124800</guid>
      <dc:creator>djcameronsc</dc:creator>
      <dc:date>2014-01-08T22:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: General, easy question</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/general-easy-question/m-p/171556#M124801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The code in the book is mostly unit tests – creating the engine in those cases is appropriate, since you'd usually want a fresh (usually in-memory) database to work with.&amp;nbsp; At least for us, when you build an application that uses the process engine, it is created and configured once, when the application / application server starts up.&amp;nbsp; For instance, if you're using Spring, your bootstrapping of your Spring beans would create the process engine and you just use that one instance throughout your application (not re-creating it to handle every call).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 03:01:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/general-easy-question/m-p/171556#M124801</guid>
      <dc:creator>bmarkmann</dc:creator>
      <dc:date>2014-01-09T03:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: General, easy question</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/general-easy-question/m-p/171557#M124802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What bmakmann says, is right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So is normally there a jvm running somewhere with that object instantiated all the time, that processes can attach to and use ? An Activiti "server" so to speak ? It doesn't seem like from the Manning book…..but maybe that comes later ….. ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no JVM running at all times. The moment when you call the buildProcessEngine(), a process-engine is created an kept in memory in the current JVM, the method was called from. You can start using it's API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As said before, for testing reasons, we sometimes recreate the process-engine. If it's in-memory, this is not such a costly operation and even then, for testing it doesn't really matter. If you're using the engine in an app, it generally is booted once (using webapp-context listener or spring/CDI) and shut down once.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 10:53:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/general-easy-question/m-p/171557#M124802</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-09T10:53:15Z</dc:date>
    </item>
  </channel>
</rss>

