Re: Odp.: [onap-discuss] [SO] Call Java from BPMN #so

2018-08-01 Thread Steve Smokowski
If you view the latest code, we utilize calls to java in a lot of files.  
Please review the so-bpmn-tasks for various implementations.  We currently use 
the expression language to call springbeans.

Thanks

-Steve


From:  on behalf of "Biniek, Lukasz (Nokia - 
PL/Wroclaw)" 
Reply-To: "onap-discuss@lists.onap.org" , 
"lukasz.bin...@nokia.com" 
Date: Wednesday, August 1, 2018 at 9:21 AM
To: "onap-discuss@lists.onap.org" , 
"prakas...@verizon.com" 
Subject: Odp.: [onap-discuss] [SO] Call Java from BPMN #so


Hi,



Camunda supports calling any JVM class that implements JavaDelegate interface 
(it doesn't care about language it's written in) or runs scripts from lanuage 
that are compatible with JSR-223. So you can have tasks that are written in any 
JVM-compatible language. Also keep in mind that Groovy scripts can run Java 
code (or, in general, any JVM class can run code from other JVM classes).



In case of MSOCommonBPMN Groovy scripts uses Java classes.



BR,

Łukasz Biniek


Od: onap-discuss@lists.onap.org  w imieniu 
użytkownika Prakash via Lists.Onap.Org 
Wysłane: środa, 1 sierpnia 2018 14:51:55
Do: onap-discuss@lists.onap.org
Temat: [onap-discuss] [SO] Call Java from BPMN #so

Hello Everyone,
 As of my understanding, every BPMN in SO calls Groovy scripts( for REST 
call, DB query etc) or it calls other BPMN files (subprocess). Then what is the 
purpose of having java files.(so/bpmn/MSOCommonBPMN/src/main/java/)  ?

Is the support of calling java from BPMN already exist or i'm missing something 
here?


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11578): https://lists.onap.org/g/onap-discuss/message/11578
Mute This Topic: https://lists.onap.org/mt/24005097/21656
Mute #so: https://lists.onap.org/mk?hashtag=so=2740164
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Odp.: [onap-discuss] [SO] Call Java from BPMN #so

2018-08-01 Thread Biniek, Lukasz (Nokia - PL/Wroclaw)
Hi,


Camunda supports calling any JVM class that implements JavaDelegate interface 
(it doesn't care about language it's written in) or runs scripts from lanuage 
that are compatible with JSR-223. So you can have tasks that are written in any 
JVM-compatible language. Also keep in mind that Groovy scripts can run Java 
code (or, in general, any JVM class can run code from other JVM classes).


In case of MSOCommonBPMN Groovy scripts uses Java classes.


BR,

Łukasz Biniek


Od: onap-discuss@lists.onap.org  w imieniu 
użytkownika Prakash via Lists.Onap.Org 
Wysłane: środa, 1 sierpnia 2018 14:51:55
Do: onap-discuss@lists.onap.org
Temat: [onap-discuss] [SO] Call Java from BPMN #so

Hello Everyone,
 As of my understanding, every BPMN in SO calls Groovy scripts( for REST 
call, DB query etc) or it calls other BPMN files (subprocess). Then what is the 
purpose of having java files.(so/bpmn/MSOCommonBPMN/src/main/java/)  ?

Is the support of calling java from BPMN already exist or i'm missing something 
here?


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11577): https://lists.onap.org/g/onap-discuss/message/11577
Mute This Topic: https://lists.onap.org/mt/24005097/21656
Mute #so: https://lists.onap.org/mk?hashtag=so=2740164
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-