It is my intention to build all rule packages in Guvnor (or some other
process) before deploying the packages to a production environment. I see
that I can use a KnowledgeBuilder with a PKG type resource to create
KnowledgePackages, and then initialize a KnowledgeBase with the
KnowledgePackages.

Though this should do the job for me, is there a way to setup the
KnowledgeBase with the compiled packages without using a KnowledgeBuilder?
My desires are to keep overhead to a minimum and optimize performance during
the initialization step.

In Drools 4, I did this with RuleBase.addPackage using java's standard
serialization techniques. but am uncertain if I can use
KnowledgeBase.addPackages the same way. I assume the binary packages that
are built with Guvnor uses the new drools serialization, so I need to know
how to use that to serialize and deserialize packages as well.

Thanks in advance for any help.
-- 
View this message in context: 
http://www.nabble.com/Using-compiled-packages-tp22070145p22070145.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to