Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I use Drools with a PHP application?

Tags:

php

soap

drools

I have a PHP application my company has chosen to adopt on the one hand. We have already implemented a rules engine (Drools) for our Java application. Everything is running through a middleware platform via SOAP messaging. I know we are going to have to do a bunch of custom classes for our PHP application to handle situations that could be handled via the rules engine.

How do I integrate Drools with our PHP application? Should I just stick with SOAP messaging from the PHP app through our ESB to the rules engine and back?

like image 844
Watermark Studios Avatar asked Dec 20 '25 06:12

Watermark Studios


1 Answers

Try not to add more moving parts to an already complicated system. I would recommend you follow your instinct and send data to be processed to the Java application via SOAP. That way you can consolidate your business logic in one area and reuse it in multiple places. That is indeed the power of distributed systems.

like image 68
Perception Avatar answered Dec 22 '25 19:12

Perception



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!