[rules-users] precompile rules

Marcus Ilgner marcus.ilgner at gmail.com
Sat Jun 7 04:46:19 EDT 2008


Hi,

On Fri, Jun 6, 2008 at 10:02 PM, apor <porcelli.antonio at gmail.com> 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 of the rulebase related objects in Drools are
serializable. For a working memory to be serializable, all of your
objects must of course be serializable. So it is always possible to
deploy remotely, and "bind" rule assets to JNDI as a means of using
them in a container environment.

Please note that when using package builder, you may want to check the
hasError() flag before continuing deploying your rules (if there are
errors, you can get them from the package builder - rather then
letting it fail later on when you try to deploy).

Best regards
Marcus

> 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.
>
> _______________________________________________
> 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