If you consider Drools Expert (the core engine) as a component, then
certainly, yes, it can be integrated into a system that both utilizes
persistence and communicates via web services in various ways respectively.
As for working examples, I'm of the opinion that would be stretching the
point of the mailing list, as these aren't concerns specific to Drools.
Baking in these functionalities makes no sense (kitchen sink mentality,
SoC) and providing examples of these would be to try and teach you
fundamentals of architectural and enterprise design. This is akin to asking
a car engine manufacturer how to create a steering mechanism and
6-passenger cabin, and provide examples of each. There are various
approaches (patterns) that suit different needs, but none tie directly to
the car engine.
On Thu, Feb 14, 2013 at 2:13 AM, Michael Anstis <michael.anstis(a)gmail.com>wrote:
Firstly a correction.
Drools "rule engine" otherwise known as Drools Expert does not use JCR by
default. Guvnor (Drools rule authoring and management web applicafion) does
use JCR as its persistent store. JCR is better thought of as a hierarchical
data store than a (R)DBMS.
That said Drools Expert can access databases and web services with the
assistance of helper classes and the "from" keyword. The user guide will
give fuller details.
That said you are also free to retrieve Facts for insertion into Drools
Expert from where- and however you like.
sent on the move
On 14 Feb 2013 07:34, "starfish15" <pooja.ghosh(a)accenture.com> wrote:
> Hello All,
>
> I am starting up on a project which requires Drools rules. I have been
> asked
> certain basic Q's. Am jotting them below
>
> 1. *Can the Drools Rule engine communicate to a DB *
>
> I know by default, drools does use the *Apache JackRabbit DB* to store
> respective assets and there are means to use other DBs as well. Not sure
> what else this Q could mean. So would really appreciate if some light can
> be
> thrown on this. What else things which could be achieved through the rules
> and DB connection
>
> 2. *Can the Drools Rule engine do web service calls to other system*
>
> I am not sure if this can be achieved through Drools. Would appreciate if
> some assistance could be provided on this and some working examples as
> well
> if this can actually be achieved.
>
> Regards,
> starfish
>
>
>
> --
> View this message in context:
>
http://drools.46999.n3.nabble.com/Query-on-web-services-and-database-stuf...
> Sent from the Drools: User forum mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users