Examples for Deploying Rules from Drools Workbench 6.1 using JSON

801 views
Skip to first unread message

Terrance Jones

unread,
Jun 10, 2015, 4:47:21 PM6/10/15
to drools...@googlegroups.com
I installed Drools Workbench 6.1 and I just want to fire the sample uf-playground rules from an eclipse project.  I don't understand how to do it. I wanted to see how I can do this using JSON, but just like Drools I'm not familiar with either.  I read the documentation a couple times, but i'm more confused on how to do this.  Any assistance anyone can provide a link to an example or anything would be greatly appreciated.

Thanks,
                Terrance  

Michael Anstis

unread,
Jun 10, 2015, 5:07:35 PM6/10/15
to drools...@googlegroups.com
The easiest way would be to "Build & Deploy" the project in the workbench; then add the resulting JAR to your Eclipse project dependencies (either download from the workbench, from the "Artifact repository" or add the workbench's Maven Repository to your Eclipse project's pom.xml). You should then be able to follow the getting started guide

Drools supports an "execution server (Kie Server)" that is effectively a web-service to which you can distribute KJARs and execute commands. This (and similar services - Camal Server etc mentioned in the Integration part of the User Guide) requires the use of JSON, or XML etc to represent the various commands. I think it'd be fair to say it's use is, for now, probably out of your scope.  

--
You received this message because you are subscribed to the Google Groups "Drools Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-setup/bd0ca098-73f8-47e1-90b3-e06fb5d12759%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Terrance Jones

unread,
Jun 12, 2015, 12:04:17 PM6/12/15
to drools...@googlegroups.com
Thanks for your response I really appreciate it.

   Terrance
Reply all
Reply to author
Forward
0 new messages