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