-
1. Re: having jBPM call PHP or similar code?
jbarrez Apr 9, 2009 6:01 AM (in response to goir)You can't directly call another language from Java (unless you're using JNA). That is not a limitation of Java, but of programming languages in general.
You can however use any scripting language supported by the JVM.
If that is a problem, you could write the php could, put a remote facade in front of it and call it from Java using webservice/REST/RPC/... technology. -
2. Re: having jBPM call PHP or similar code?
kukeltje Apr 9, 2009 6:44 AM (in response to goir)And maybe http://www.caucho.com/resin-3.1/doc/quercus.xtp is interesting... not sure how it would fit in though... might be that you could make it pluggable for jBPM4
-
3. Re: having jBPM call PHP or similar code?
rajiff Dec 21, 2010 9:35 AM (in response to jbarrez)I see your reply in 2009, since then are there any further development or better ways to do this? i.e., "If that is a problem, you could write the php could, put a remote facade in front of it and call it from Java using webservice/REST/RPC/... technology."
Could you please provide some more pointers/link/example/docs to do this (using JBPM with webservices/REST/RPC calls)
Thanks
Basav