[jboss-user] [jBPM] - Re: What does "Build package" do? How to deploy in running engine

Esteban Aliverti do-not-reply at jboss.com
Fri Aug 12 05:56:28 EDT 2011


Esteban Aliverti [http://community.jboss.org/people/eaa] created the discussion

"Re: What does "Build package" do? How to deploy in running engine"

To view the discussion, visit: http://community.jboss.org/message/620753#620753

--------------------------------------------------------------
When you click "Build Package" in Guvnor, all the assets (rules, processes, dsl, spreadsheets, etc) are compiled into a binary file (a package). This package can be later used for external applications (like gwt-console for example) to create different knowledge sessions. The links that you mentioned are "fake" links. This means that you will not find its route or content inside Guvnor directory tree. What happens in reality is that Guvnor intercepts these links and add dynamic logic to them, like retrieve the package from its internal database and return it.  So, the deployed files (uploaded .bpmn or drl files) go inside Guvnor's database. They never exist in the file system.  So, if you want to upload your processes into guvnor, you have 3 main options:
* Use drools eclipse-plugin: you already said you don't want to use it.
* Use Guvnor Rest API:  http://community.jboss.org/docs/DOC-16217 http://community.jboss.org/wiki/AtomPubinterfaceforGuvnor I think gwt-console is using "default" package in Guvnor. So you will need to upload your .bpmn file there. Just remember to re-build the package after you uploaded the process.
* Mount Guvnor DB using DAV: Guvnor's uses a JCR database. You can mount it using an URL like this: dav://localhost:8084/drools-guvnor/org.drools.guvnor.Guvnor/webdav Then you can browse though the packages of Guvnor and copy your processes definitions there. Again. remember to re-build the package when you finish. 
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/620753#620753]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110812/40055bf2/attachment.html 


More information about the jboss-user mailing list