With native i mean that my Conditions implementing
org.drools.spi.Condition. 

I create the Conditions, Consequences and Rules like the fibonacci or
manners example from drools-examples (see FibonacciNative.java,
MannersNative.java).

If rules are written in a java.drl file the condition sharing works for
same conditions. But so far i don't know how my "equal" conditions are
treated seperate.

I've searched a bit for "condition sharing" and found something
interesting about the Spring POJO Semantic Module. I will spend now some
time in understanding this. Maybe thats the solution for my problems :)

Thanks for your tip with the keyword "condition node sharing".

Regards

Kai


-----Ursprüngliche Nachricht-----
Von: Geoffrey Wiseman [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 14. November 2005 19:40
An: [email protected]
Betreff: Re: [drools-user] Reuse of Conditions


On 11/14/05, Kai Ruddies <[EMAIL PROTECTED]> wrote:
>
> For the moment i plan to implement the conditions and consequences 
> native. Based on these and some user parameters a RuleFactory build 
> native rules. For the future the rules should be written in a dsl.


I'm not sure what you mean by 'native', so I can't really tell you if
condition node sharing will be automatic in your implementation. Someone
more versed in creating DSLs for Drools may be able to tell you if/how
to get condition node sharing in a DSL.

How does the "condition node sharing" work with the java package? Can i
find
> something in drools-examples?


At a quick glance, these
pages<http://www.google.ca/search?hl=en&rls=GGGL%2CGGGL%3A2005-09%2CGGGL
%3Aen&q=site%3Adrools.org+sharing&btnG=Search&meta=>might
be helpful.

--
Geoffrey Wiseman

Reply via email to