I think we should have some dirt simple helper methods in drools-core for deserializing:

something like "BinaryRuleBaseLoader.load(InputStream)" or similar.

Could also take packages, etc, and have a very simple built in cache. We could have helper ones that grab it from JNDI etc (and perhaps some example code on how to bind a binary rulebase to JNDI and how to update etc for deployment). Just some ideas for simple ways to deal with deployment that need no dependencies.

On 4/24/07, Mark Proctor <mproctor@codehaus.org> wrote:
just create a package or a rulebsae and serialise it somewhere. RuleBase then has a method to create a new working memory from an input stream, i.e. the serialised object.

Mark
Márcio Moraes wrote:
Hi all,

I've just discovered production machine does not have a compiler, so i thought pre-compiling my rules.

How can i do that? Is there some ant task?

Thanks,

Márcio Moraes

_______________________________________________
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