<?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: How to use session bean with JavaDelegate in a Service Task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136918#M96033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have looked into the tutorial , but i am using EJB 3.1 instead of spring in my bussiness code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)does that make any problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)what i need to really now about activi is : does activiti inject the serive class if its a session bean , or it will create it using constructor as a pojo class (pojo class cannot use @EJB or JNDI without a client module .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Mar 2013 12:46:19 GMT</pubDate>
    <dc:creator>amir_kourani</dc:creator>
    <dc:date>2013-03-20T12:46:19Z</dc:date>
    <item>
      <title>How to use session bean with JavaDelegate in a Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136914#M96029</link>
      <description>Hi,I create a java class JavaDelegateImpl that implements the JavaDelegate interface. In the bpmn model i configure the service task to use the previous class.I am facing a problem when injecting a session bean in JavaDelegateImpl.Is there a problem with the service class to inject session bean? and</description>
      <pubDate>Tue, 19 Mar 2013 13:15:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136914#M96029</guid>
      <dc:creator>amir_kourani</dc:creator>
      <dc:date>2013-03-19T13:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use session bean with JavaDelegate in a Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136915#M96030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can't you use CDI?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2013 17:10:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136915#M96030</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2013-03-19T17:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use session bean with JavaDelegate in a Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136916#M96031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;CDI would indeed be the easiest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or, if that's not possible see &lt;/SPAN&gt;&lt;A href="http://www.jorambarrez.be/blog/2011/01/13/tutorial-call-an-ejb-in-a-bpmn-2-0-process-using-activiti-and-spring/" rel="nofollow noopener noreferrer"&gt;http://www.jorambarrez.be/blog/2011/01/13/tutorial-call-an-ejb-in-a-bpmn-2-0-process-using-activiti-and-spring/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Altough quite old post, I believe it is still valid.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 09:52:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136916#M96031</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-03-20T09:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use session bean with JavaDelegate in a Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136917#M96032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually i am using Liferay which is still not compatible with CDI. I will look at the above link, thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 10:30:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136917#M96032</guid>
      <dc:creator>amir_kourani</dc:creator>
      <dc:date>2013-03-20T10:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use session bean with JavaDelegate in a Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136918#M96033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have looked into the tutorial , but i am using EJB 3.1 instead of spring in my bussiness code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)does that make any problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)what i need to really now about activi is : does activiti inject the serive class if its a session bean , or it will create it using constructor as a pojo class (pojo class cannot use @EJB or JNDI without a client module .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 12:46:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136918#M96033</guid>
      <dc:creator>amir_kourani</dc:creator>
      <dc:date>2013-03-20T12:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to use session bean with JavaDelegate in a Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136919#M96034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can always create a custom ExpressionManager. This allows you to lookup beans from EJB based on expressions used in activiti (e.g. a service-task with activiti:delegateExpression="${myEjbJavaDelegate}" or activiti:expression="${myEjbService.doStuff(execution.getVariable("var")}").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at org.activiti.spring.SpringExpressionManager, for example, this is the expression-manager that looks in the spring-context. We have one for OSGI and CDI as well, by default.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 07:46:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-use-session-bean-with-javadelegate-in-a-service-task/m-p/136919#M96034</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-03-21T07:46:29Z</dc:date>
    </item>
  </channel>
</rss>

