1) No you don't have to save it; just use one of the overloaded methods on
KnowledgeBuilder that takes a StringReader, or String or something else
similar.

2) I understand there to be one for Drools Expert too, which I'd expect to
be in one of the drools-xxx JARs however am having trouble finding it!

Re#2, I've asked Edson Tirelli (the author of the Drools Expert Fluent API)
to advise further...

On 24 February 2012 17:35, shawn <youngxiao...@hotmail.com> wrote:

> Thank you~
> Does it mean I have to write a file in java and saved it as .drl?
> fluent API is in jbpm, right?
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/How-to-create-a-drl-file-or-decision-table-dynamically-tp3772708p3773187.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to