<?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 How using Ejbs (3.0) in Service-Tasks in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-using-ejbs-3-0-in-service-tasks/m-p/115751#M81609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;an anybody help me how to use EJBs in Activiti?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;McD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2012 20:50:55 GMT</pubDate>
    <dc:creator>mcdroemmel1</dc:creator>
    <dc:date>2012-04-23T20:50:55Z</dc:date>
    <item>
      <title>How using Ejbs (3.0) in Service-Tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-using-ejbs-3-0-in-service-tasks/m-p/115751#M81609</link>
      <description>Hello,an anybody help me how to use EJBs in Activiti?regardsMcD</description>
      <pubDate>Mon, 23 Apr 2012 20:50:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-using-ejbs-3-0-in-service-tasks/m-p/115751#M81609</guid>
      <dc:creator>mcdroemmel1</dc:creator>
      <dc:date>2012-04-23T20:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: How using Ejbs (3.0) in Service-Tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-using-ejbs-3-0-in-service-tasks/m-p/115752#M81610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;+1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it would be nice if we could use EJB in Activiti.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 08:35:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-using-ejbs-3-0-in-service-tasks/m-p/115752#M81610</guid>
      <dc:creator>bmr2012</dc:creator>
      <dc:date>2012-04-24T08:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: How using Ejbs (3.0) in Service-Tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-using-ejbs-3-0-in-service-tasks/m-p/115753#M81611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you have Java EE 6, you can use the activiti-cdi extension to call EJBs using Expression Language. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do not have CDI, you can use plain JavaDelegate Objects and lookup an instance of your EJB from JNDI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could even write a generic EJB resolver that can be parameterized with things like &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* JNDI name,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* Interface name,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* method name,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason we do not provide such "resolvers" in activiti is that there are just too many ways to do this and the way you will eventually do it will be specific to your environment and individual requirements (security, classloading, transctions etc…)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 09:34:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-using-ejbs-3-0-in-service-tasks/m-p/115753#M81611</guid>
      <dc:creator>meyerd</dc:creator>
      <dc:date>2012-04-24T09:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: How using Ejbs (3.0) in Service-Tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-using-ejbs-3-0-in-service-tasks/m-p/115754#M81612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello meyerd,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i think using a JavaDelegate-Object would be a possible way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And what do you think about triggering a running process (or waiting in activiti for an event) from a bean?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you recommend using a rest-ws from inside the ejb or is there something more smoother?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matthias&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 12:42:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-using-ejbs-3-0-in-service-tasks/m-p/115754#M81612</guid>
      <dc:creator>mcdroemmel1</dc:creator>
      <dc:date>2012-04-25T12:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: How using Ejbs (3.0) in Service-Tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-using-ejbs-3-0-in-service-tasks/m-p/115755#M81613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would always use the java API RuntimeService, RepositoryService etc… unless there is a very good reason not to do it. (Depends on you deployment setting, of course).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you have an EJB and want to start a new process instance, you can simply do a runtimeService.startProcessInstanceByKey(…) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, the tricky part is of course, where is the runtimeService instance coming from &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 20:14:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-using-ejbs-3-0-in-service-tasks/m-p/115755#M81613</guid>
      <dc:creator>meyerd</dc:creator>
      <dc:date>2012-04-26T20:14:35Z</dc:date>
    </item>
  </channel>
</rss>

