My 2c...<br><br>Who&#39;s to say that Drools is not a good fit?<br><br>I see any Rules Engine as a means to externalise rules; whether they are maintained by Users or IT.<br><br>Of course the overhead of introducing another technology to an applications code-base needs to be balanced with many other factors: skillset, memory consumption etc even frequency of change.<br>
<br>If the application in question is pretty static in its requirements for UI-centric rules; a good implementation of the Mediator pattern may prove more beneficial.<br><br>Cheers,<br><br>Mike<br><br><div class="gmail_quote">
On 6 January 2011 02:38, Greg Barton <span dir="ltr">&lt;<a href="mailto:greg_barton@yahoo.com">greg_barton@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
If the business logic is this simple then no, drools is not a good fit because business rules are not necessary.  The only thing that would make it necessary is if you had business users writing rules, but as far as I know drools 2.5 doesn&#39;t have much in the way of modern rules management. (unlike the 5.x series)<br>

<br>
--- On Wed, 1/5/11, albertkao &lt;<a href="mailto:albertkao3@gmail.com">albertkao3@gmail.com</a>&gt; wrote:<br>
<br>
&gt; From: albertkao &lt;<a href="mailto:albertkao3@gmail.com">albertkao3@gmail.com</a>&gt;<br>
&gt; Subject: [rules-users] Swing GUI &amp; Drools<br>
&gt; To: <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; Date: Wednesday, January 5, 2011, 5:51 PM<br>
<div><div></div><div class="h5">&gt;<br>
&gt; I want to find out whether Swing GUI, Drools 2.5 (the only<br>
&gt; version approved<br>
&gt; by my company) &amp; JDK 1.6.20 are a good fit for my<br>
&gt; application.<br>
&gt; i.e. whether my application is complex enough to use<br>
&gt; Drools.<br>
&gt; If Drools should be used, please give some hints how to<br>
&gt; implement with<br>
&gt; Drools 2.5.<br>
&gt; The business logic is:<br>
&gt; if (Entity = Corporation) {<br>
&gt;    Switch (Account type) {<br>
&gt;        1: the Entity dropdown box<br>
&gt; field should be greyed out; the In<br>
&gt; checkbox should be enabled.<br>
&gt;        2: the Entity dropdown box<br>
&gt; field should be greyed out; the Out field<br>
&gt; should be selected.<br>
&gt;        3: the Entity dropdown box<br>
&gt; field show all the available values;<br>
&gt;        4: the Entity dropdown box<br>
&gt; field show value1, value2 only.<br>
&gt; } else {<br>
&gt;    // ...<br>
&gt; }<br>
&gt;    <br>
&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Swing-GUI-Drools-tp2202386p2202386.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Swing-GUI-Drools-tp2202386p2202386.html</a><br>

&gt; Sent from the Drools - User mailing list archive at<br>
&gt; Nabble.com.<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>