This content has been marked as final.
Show 2 replies
-
1. Re: Passing ContextInstance as parameter to session bean ?
kukeltje Oct 16, 2007 10:52 AM (in response to preitsma)hmmmm... passing a context I would not do (to tightly coupled). The variable container is better or just passing a hashmap of objects where the objects are the variables (strongly java typed) and the keys are the variable names. Maybe in addition pass a processid/taskid/tokenid.
for the rest, looks good. This is also what I would do (this is not in jBPM, yet (no work being done), care to put this on a wiki if it works? Maybe we can even start a 'project' in jBPM with these kinds of contributions -
2. Re: Passing ContextInstance as parameter to session bean ?
preitsma Nov 2, 2007 7:56 PM (in response to preitsma)Started to explore JBoss Seam and it looks like this provides the integration between Jbpm and EJB I am looking for.
It allows to call any EJB using<action expression='#{ejb.method}'>
and inject process variables through the BUSINESS_PROCESS scope.
Let me know if I am wrong.
It only seems that async and scheduled processing is not supported yet by Seam...