How to Integrate Kie-workbench with springboot? - drools

I am having Kie workbench and I am having seperate springboot application. Now i want to use certain rules created in that workbench from my local spring boot application....
What are the steps to be followed to interact with KIE Workbench and what are the configurations to be made on both sides(KIE WORKBENCH & Springboot application)

Do you have kie-server.war installed along with workbench?
If yes, then you can deploy your project into kie-server and use REST API or java client to fire rules from your application. Please refer documentation Kie-server installation to understand more about using kie-server to deploy projects and configurations.

Related

How to integrate Rest API and MongoDB Based Spring Boot Application to Drools and KIE Server?

I am looking for any solution for REST API based Spring Boot Application has to be integrated or import to KIE server to apply Drools Rules and Business Flow.
There are close questions but there is not related with a newer version of Spring Boot versions because Spring.io does not support JBooss/Drools and KIE server.
Please give me feedback on how or simple project configuration.

Tomcat restful web service database (JPA) with Netbeans does not work

I have been able to create Restful web services with JAX-RS for Tomcat. Using the Netbeans Restful web service from patterns wizard.
But I am not able to create Restfull web servicer from database with Netbeans wizard.
It miss some libraries. I add openJPA and Java EE web api 6 (over the added by the wizard). But it continues not working.
I added javaEE-TomEE 8.0 but did not work, either!
Does anybody know what have I to add to Tomcat to get JPA-Database Restful service working?
Moving to GlassFish is not an answer valid... I want to keep on Tomcat (adding the minimal)
I have made some advances...
With EclipseLink(JPA 2.0) I was able to connect MySQL in a desktop application...
Then I switched to Apache OpenJPA and I was no able to get an EntityManagerFactory...
So it seems I choose a library incomplete...
I imagine, in Tomcat, I have to choose other library than OpenJPA.

How to expose Drools rules via REST

I'm trying out Redhat Drools and I was able to deploy Drools Workbench in WildFly environment. And I'm trying to find out how to expose rules as services, but couldn't find an article on how to do it. Is it a restriction on the Drools Workbench or is there another way where this could be achieved?
Redhat BRMS just gives you a jar. To expose it as a rest api, you need to include it in a war and deploy that war on your server. Or as mentioned by Abhijit, you can use kie-server.war which serves the same purpose.
you can make use of kie-server.war which was included in Drools 6 release. Through kie-server.war you can execute rules through REST API. Go through document for more details about kie-server

Can't deploy Spring boot app on Jelastic

I'm using Jelastic . It works great with my PHP and servlet apps. But when I deploy Spring boot apps it's not working at all, even for a simple spring boot apps. Didn't find any doc in this case. Can i get some help?
Intelio,
There are two ways to deploy Spring boot app on Jelastic:
By building it from your Git/SVN repository using Maven;
By deployment your WAR file directly to Jelastic environment via archive/URL.
Please note that Spring Boot usage requires Java 8 at your application server.

Deployment of drools(6.0) rules application in tomcat server

I have developed my rules application using drools and would like to deploy it to Tomcat along with my other webapplciation that invokes rules. How do I go ahead with this?
Im using Drools 6.0.
You need to download the kie-workbench from here
http://download.jboss.org/drools/release/6.0.1.Final/kie-drools-wb-distribution-6.0.1.Final.zip
and then put the tomcat war inside tomcat/webapps