JBoss Community

Re: JBPM5 Starting Guvnor process question

created by Chris Melas in jBPM - View the full discussion

Hello,

The processes that you create are stored in Guvnor repository. These processes have to be accessed and started, as a result orchestrated, by the jbpm engine. You have two choices,

1. Use your own instance of the engine with your own configuration etc ( for example the code you have posted).

2. Use 'jbpm-gwt-console-server, which is a web application having all code and configurations needed for the jbpm engine to run.

 

I understand that whatever the approach, you want a "fire and forget" solution. Such a solution is achieved by running an application as a service (i.e. run constantly and listen on a port of your system - not very nice) or as a server (i.e. create web application and deploy on an application server like jboss - then you have to use http calls to communicate with it - i.e. web services).

Approach 2 above is ready out of the box (you have the engine running on a server and the communication methods - REST API - ready for you)  and you have to communicate via REST.

 

p.s. whatever the approach you will be getting all your definitions and resources from the repository of Guvnor

Reply to this message by going to Community

Start a new discussion in jBPM at Community