<br>
here&#39;s my bias 2 bits on rule configuration. in the past when I&#39;ve
built rule servers, the configuration included the following modules
and components in the deployment description.<br>
<br>
1. rulesets - a list of rulesets<br>
2. initial facts - facts needed to run the rules<br>
3. modules - like functions<br>
4. models - domain object model<br>
5. number of engine instances - for creating a pool<br>
6. min pool number - initial number of engines<br>
7. max pool number - max number of engines<br>
8. name - name for the configuration if there are multiple<br>
<br>
I imagine for the solver you&#39;re NOT talking about a general purpose
deployment configuration, but thought i&#39;d provide some food for thought.<br>
<br>
<br>
peter<br><br><div><span class="gmail_quote">On 1/23/07, <b class="gmail_sendername">Geoffrey De Smet</b> &lt;<a href="mailto:ge0ffrey.spam@gmail.com">ge0ffrey.spam@gmail.com</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;">
For the solver I &#39;d like to externalize the configuration into an xml(?)<br>&nbsp;&nbsp;file.<br>something like<br><br>&lt;localsearch decisionMode=&quot;OPTIMAL&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;finish steps=&quot;500&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;ruleBase location=&quot;/org/foo/bar/drools.drl&quot;/&gt;
<br>&lt;/localsearch&gt;<br><br>This is a bit inspired by how ehcache is configured, clean and easy,<br>without any class implementation details: the way users like it.<br><br><br>I &#39;ve been thinking on doing this with XStream, but that&#39;s not versatile
<br>enough to make user friendly configuration files. Although Xstream works<br>out great to serialize solutions to and from xml files.<br><br>Next I was thinking about is JDom or Xom, but that&#39;s yet another<br>dependency. What would you guys recommend?
<br><br><br>--<br>With kind regards,<br>Geoffrey De Smet<br><br>_______________________________________________<br>rules-dev mailing list<br><a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-dev">
https://lists.jboss.org/mailman/listinfo/rules-dev</a><br></blockquote></div><br>