[rules-users] Writing rules using java..

Rahul Phadnis rahul.phadnis at fatspaniel.com
Fri Mar 2 13:41:16 EST 2007


I may not be understanding your requirements but would
storing the rule definition file in the database help.
So you have file with all your rules and you store it
in the database. At execution time you load the rules
file and hence rules from the database.

Rahul


--- "Kolla, Sandeep" <Sandeep.Kolla at gs.com> wrote:

> I am very new to rules engine. The requirement for
> our project is store
> and retrieve rules from the database.This makes the
> rules engine to
> directly interact with the Database, to do so is
> there any way that I
> can use the rules api to set the rules.
> 
> For example something like
> Creating a rule.
> Rule rule = new Rule(name);
> Rule.setSaliance(1);
> 
> Similarly I don't find any api's to set the
> conditions and the
> consequences.
> I did extensive googling but couldn't find the right
> answer..
> I would appreaciate if some could help me with this
> scenario.
> Thanks in advance,
> Sandeep.
> 
> > _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 




More information about the rules-users mailing list