[
https://jira.jboss.org/jira/browse/JBPM-2412?page=com.atlassian.jira.plug...
]
Ronald van Kuijk commented on JBPM-2412:
----------------------------------------
I would to, but what about ditching the target-ejb-home and method thing completely and
using just one
<java action="#{myEjbBean.myMethod} ....
The target-expr is only usefull if you want to specify what bean to call in a
processvariable. Does that happen often? I've never come across it.
My example with <java action="..." could also be used to calls webbeans/seam
pojo's/spring beans etc...
Wouldn't that be much nicer?
extend java activity targets with expression and ejb
----------------------------------------------------
Key: JBPM-2412
URL:
https://jira.jboss.org/jira/browse/JBPM-2412
Project: JBoss jBPM
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Runtime Engine
Reporter: Tom Baeyens
Assignee: Tom Baeyens
Fix For: jBPM 4.1
java activity is about method invocation
attribute ejb-home should point to the JNDI location of the EJB Home interface
<java target-ejb-home="java:/MyEjBean" method="myMethod">
<java target-expr="#{myVar}"...
<java
<target class="..."
<field...
can we support ejb 2 and 3, or do we need to choose ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira