Caire Giovanni
2014-04-25 08:25:18 UTC
Hi,
Workflow classes can be dynamically deployed and made available for execution by means of the deployModule() method of the EngineProxy API (com.tilab.wade.proxy.EngineProxy class).
A mudule is basically a jar file (very similar to an OSGi bundle) containing a self-consistent set of workflow classes.
More in details the EngineProxy API supports (among others) all the actions that you can perform from the "Modules" section of the Wade Administration Web Console (latest version).
So what you should do is
- Generate the new workflow
- Package its classes into a local jar file
- Deploy that jar file on the platform through the EngineProxy API.
Bye,
Giovanni
-----Messaggio originale-----
Da: ?brah?m Gyula [mailto:abraham.gyula at hotmail.com]
Inviato: gioved? 24 aprile 2014 01:32
A: Caire Giovanni
Oggetto: workflow
Dear Giovanni,
I have a question about running workflows in WADE. We have a decision support system which is based on WADE. This system download workflow datas from a database. After downloading datas the system build the workflow java files and compile them. Basically I know in WADE we have to generate a .jar file into lib directory in WADE based project before running WADE based programs. In our system have this jar file in lib directory without workflow classes because workflow files build in runtime depends on the database. My question is that, how can I load the generated workflow class files in runtime to run them?
Thank you for your help.
P.S.: Sorry to send email directly to you, but my e-mail address is rejected by the jade list service. I don't know why.
Best wishes,
Gyula
Workflow classes can be dynamically deployed and made available for execution by means of the deployModule() method of the EngineProxy API (com.tilab.wade.proxy.EngineProxy class).
A mudule is basically a jar file (very similar to an OSGi bundle) containing a self-consistent set of workflow classes.
More in details the EngineProxy API supports (among others) all the actions that you can perform from the "Modules" section of the Wade Administration Web Console (latest version).
So what you should do is
- Generate the new workflow
- Package its classes into a local jar file
- Deploy that jar file on the platform through the EngineProxy API.
Bye,
Giovanni
-----Messaggio originale-----
Da: ?brah?m Gyula [mailto:abraham.gyula at hotmail.com]
Inviato: gioved? 24 aprile 2014 01:32
A: Caire Giovanni
Oggetto: workflow
Dear Giovanni,
I have a question about running workflows in WADE. We have a decision support system which is based on WADE. This system download workflow datas from a database. After downloading datas the system build the workflow java files and compile them. Basically I know in WADE we have to generate a .jar file into lib directory in WADE based project before running WADE based programs. In our system have this jar file in lib directory without workflow classes because workflow files build in runtime depends on the database. My question is that, how can I load the generated workflow class files in runtime to run them?
Thank you for your help.
P.S.: Sorry to send email directly to you, but my e-mail address is rejected by the jade list service. I don't know why.
Best wishes,
Gyula