<?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: Deploying delegate classes in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33840#M17672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Initially, I had the same opinion as Bernd: i didnt see the value of the classes-in-the-db.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the request has been coming regularly now, and people seem to really like it. It is also very good for demo's. So my opinion has switched over timer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For EE/OSGI environments I think indeed a custom solution could be developed. But those will always be tailored to the app server at that point. And that could very wel co-exist with the db approach.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Feb 2011 09:45:51 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2011-02-18T09:45:51Z</dc:date>
    <item>
      <title>Deploying delegate classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33838#M17670</link>
      <description>Here's a new way of how we could deploy delegate classes to the engine.&amp;nbsp; This would solve the problem that delegate classes have to be deployed to every webapp that runs the ProcessEngine.We could provide a method repositoryService.deployLibrary(InputStream).&amp;nbsp; This methods would store that library i</description>
      <pubDate>Fri, 18 Feb 2011 05:41:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33838#M17670</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-02-18T05:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying delegate classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33839#M17671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Quick feedback before I leave to the office: Having classes in the database still doesn't feel right for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For me personally the most interesting is, how we can handle that problem correctly in the Java EE/JBoss AS environment, but that I think involves some custom solution for that environment (Deployer, scoped EAR deployments, …). For e.g. OSGI I don't know what that evolves and if they can work with the sketched solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 06:33:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33839#M17671</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-02-18T06:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying delegate classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33840#M17672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Initially, I had the same opinion as Bernd: i didnt see the value of the classes-in-the-db.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the request has been coming regularly now, and people seem to really like it. It is also very good for demo's. So my opinion has switched over timer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For EE/OSGI environments I think indeed a custom solution could be developed. But those will always be tailored to the app server at that point. And that could very wel co-exist with the db approach.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 09:45:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33840#M17672</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-02-18T09:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying delegate classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33841#M17673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree at least for demos, there it is nice. But normally I always get the question: "And how did you really deploy the delegation classes? In the database?? Are you insane???" &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But okay, since it would be an additional feature I don't mind, even if I wouldn't prioritize it too high. But that's basically your decision, so….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:25:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33841#M17673</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-02-18T10:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying delegate classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33842#M17674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Quick feedback before I leave to the office: Having classes in the database still doesn't feel right for me.&lt;BR /&gt;&lt;BR /&gt;For me personally the most interesting is, how we can handle that problem correctly in the Java EE/JBoss AS environment, but that I think involves some custom solution for that environment (Deployer, scoped EAR deployments, …). For e.g. OSGI I don't know what that evolves and if they can work with the sketched solution.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;So this is the problem: Suppose a user wants to use our existing webapps as is.&amp;nbsp; And also he wants to use the engine in his own application.&amp;nbsp; Then how does he make sure that delegation classes are found in those 2 environments?&amp;nbsp;&amp;nbsp; It is very error-prone to explain to developers that they have to deploy their classes to every process engine that might end up running their process.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that the solution I'm talking about here is different from classes in the business archive and in the deployment.&amp;nbsp; In this case, the libs would be visible process engine wide.&amp;nbsp; And I also indicated that as a kind of 'cache', the libs could be serialized to a local folder and then loaded through a normal classloader.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A second problem we need to address is the spring configuration.&amp;nbsp; If a user has a webapp and uses spring and wants to use beans from that context.&amp;nbsp; Same thing here.&amp;nbsp; All the instantiated process engines need to be made aware of that spring context.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 13:20:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33842#M17674</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-02-18T13:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying delegate classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33843#M17675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes OSGi is probably different.&amp;nbsp; Hopefully we're able to work out a strategy that works on every environment.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 13:21:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33843#M17675</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-02-18T13:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying delegate classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33844#M17676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Suppose a user wants to use our existing webapps as is. And also he wants to use the engine in his own application. Then how does he make sure that delegation classes are found in those 2 environments?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;That isn't solved by having the delegation classes in the Database. Normally you need third party libraries, or service interfaces or whatever as well. The delegation class is only the tip of an iceberg.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;All the instantiated process engines need to be made aware of that spring context.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;What if you have one spring app and a non spring app? That's why scoped classloading was invented in Java EE, it is not just unnecessary complex &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; But okay, hey, if you want to have it for demos or simple environment (e.g. the simple vacation process) I don't care. I just don't see it as a best practice to deploy a "real" application like that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 15:43:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33844#M17676</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-02-18T15:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying delegate classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33845#M17677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think Bernd is right - maintaining same process engine configuration, together with 3rd party jars for different deployments would become really difficult. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think for webapps it's better solution to expose REST API from user application - it's not that hard, I wrote about it on user forum: &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=1141" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=1141&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(of course the problem remains if there are many application which want to share process engine…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In OSGi environment we would just use OSGi services to share process engine between applications (at least on same server)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 16:06:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33845#M17677</guid>
      <dc:creator>mproch</dc:creator>
      <dc:date>2011-02-18T16:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Deploying delegate classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33846#M17678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I didn't see the alternative yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So a user wants to build a webapp and use the Activiti APIs.&amp;nbsp; And this user also wants to use Activiti Explorer and Activiti Rest interface.&amp;nbsp; This is a very common use case.&amp;nbsp; What are the things that a user should do in order to get this running?&amp;nbsp; Would this require an appserver?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 19:19:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploying-delegate-classes/m-p/33846#M17678</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-02-18T19:19:25Z</dc:date>
    </item>
  </channel>
</rss>

