Hi,
I wanted to know if it is possible to precompile rules/flows and load
them on demand?
Currently i am using the following code:
*KnowledgeBuilder kbuilder =
KnowledgeBuilderFactory.newKnowledgeBuilder();
for (String file : files) {
// Yesterday: serialize a KP collection
OutputStream os = new FileOutputStream( pkgPath );
ObjectOutputStream oos = new ObjectOutputStream( os );
oos.writeObject( kBuilder.getKnowledgePackages() );
oos.close();
// Today: load serialized packages
KnowledgeBase kBase =
You can also use the CHANGE_SET.
http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html/ch02.html#d0e890
A change_set example, where rules and ruleflows are folders that must
contain just .drl and .drf files respectively:
?xml version=1.0 encoding=UTF-8?
change-set
Thanks, I will try that...
2010/11/18 Anderson Rocha anderson.u...@gmail.com
You can also use the CHANGE_SET.
http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html/ch02.html#d0e890
A change_set example, where rules and ruleflows are folders that must
contain just
Hi, I am studying drools and i am wanted to know if it is possible precompile
the rules to load them under demand, in the style of since it is done with
jdbc.
Thank you
--
View this message in context:
http://www.nabble.com/precompile-rules-tp18161709p18161709.html
Sent from the drools - user
hi, I am using drools 4.0.7 and i am know if one can precompilar the rules.
Thank you
--
View this message in context:
http://www.nabble.com/precompile-rules-tp17693043p17693043.html
Sent from the drools - user mailing list archive at Nabble.com.
Hi,
On Fri, Jun 6, 2008 at 10:02 PM, apor [EMAIL PROTECTED] wrote:
hi, i am new with drools. one question , The rules can precompilar ?
yes, you can compile your rulebase and serialize then later
deserialize the compiled packages.
From the documentation:
7.1.4.4. Serializing
Practically all
hi, i am new with drools. one question , The rules can precompilar ?
Thank you
--
View this message in context:
http://www.nabble.com/precompile-rules-tp17700145p17700145.html
Sent from the drools - user mailing list archive at Nabble.com.
___