My 2c...
Who's to say that Drools is not a good fit?
I see any Rules Engine as a means to externalise rules; whether they are maintained by Users or IT.
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.
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.
Cheers,
Mike
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 <albertkao3@gmail.com> wrote:
> From: albertkao <albertkao3@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