My 2c...<br><br>Who'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"><<a href="mailto:greg_barton@yahoo.com">greg_barton@yahoo.com</a>></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't have much in the way of modern rules management. (unlike the 5.x series)<br>
<br>
--- On Wed, 1/5/11, albertkao <<a href="mailto:albertkao3@gmail.com">albertkao3@gmail.com</a>> wrote:<br>
<br>
> From: albertkao <<a href="mailto:albertkao3@gmail.com">albertkao3@gmail.com</a>><br>
> Subject: [rules-users] Swing GUI & Drools<br>
> To: <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> Date: Wednesday, January 5, 2011, 5:51 PM<br>
<div><div></div><div class="h5">><br>
> I want to find out whether Swing GUI, Drools 2.5 (the only<br>
> version approved<br>
> by my company) & JDK 1.6.20 are a good fit for my<br>
> application.<br>
> i.e. whether my application is complex enough to use<br>
> Drools.<br>
> If Drools should be used, please give some hints how to<br>
> implement with<br>
> Drools 2.5.<br>
> The business logic is:<br>
> if (Entity = Corporation) {<br>
> Switch (Account type) {<br>
> 1: the Entity dropdown box<br>
> field should be greyed out; the In<br>
> checkbox should be enabled.<br>
> 2: the Entity dropdown box<br>
> field should be greyed out; the Out field<br>
> should be selected.<br>
> 3: the Entity dropdown box<br>
> field show all the available values;<br>
> 4: the Entity dropdown box<br>
> field show value1, value2 only.<br>
> } else {<br>
> // ...<br>
> }<br>
> <br>
><br>
> --<br>
> 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>
> Sent from the Drools - User mailing list archive at<br>
> Nabble.com.<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>
><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>