[jboss-user] [jBPM] - Re: Is it possible to integrate CDI beans into script and service tasks within jBPM 5.4?

Guillermo L do-not-reply at jboss.com
Mon May 27 22:40:37 EDT 2013


Guillermo L [https://community.jboss.org/people/gmlopezdev] created the discussion

"Re: Is it possible to integrate CDI beans into script and service tasks within jBPM 5.4?"

To view the discussion, visit: https://community.jboss.org/message/819739#819739

--------------------------------------------------------------
Thanks for your response Vladimir!

I've also found a thread from Esteban  https://community.jboss.org/thread/171972 here and he does not recommend using script tasks. 

I understand that under some scenarios a script task might be an option, however I'm integrating jBPM within JEE 6 and my beans are CDI beans so I need to get references to them through the container. As per what I have read so far, it appears that Task or Service Task might be my alternatives since I can inject and bind the work item handlers into the session however I'd like to know the difference between both (Task vs ServiceTask).

Thanks again for sharing your experience!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/819739#819739]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130527/97a7d316/attachment.html 


More information about the jboss-user mailing list