I think we should have some dirt simple helper methods in drools-core for deserializing: <br><br>something like &quot;BinaryRuleBaseLoader.load(InputStream)&quot; or similar. <br><br>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.
<br><br><div><span class="gmail_quote">On 4/24/07, <b class="gmail_sendername">Mark Proctor</b> &lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000">
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.<br>
<br>
Mark<br>
Márcio Moraes wrote:
<blockquote type="cite"><div><span class="e" id="q_112200adb043683a_1">Hi all,<br>
  <br>
I&#39;ve just discovered production machine does not have a compiler, so i
thought pre-compiling my rules.<br>
  <br>
How can i do that? Is there some ant task?<br>
  <br>
Thanks,<br>
  <br>
Márcio Moraes<br>
  </span></div><pre><hr size="4" width="90%">
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rules-users@lists.jboss.org
</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</div>

<br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br>