Discussion:
Groovy DSL as alternative to rules engine
Steven Devijver
18 years ago
Permalink
Hey,

As anyone on the list ever done some work in implementing business
scenarios with a Groovy DSL instead of a rules engine.

More specifically, have anyone ever been at a point where you were
thinking about using a rules engine for implementing a given scenario
yet as an alternative used or experimented with a DSL in Groovy.

If so, do you care to share information?

Thanks

Steven

---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email
John Wilson
18 years ago
Permalink
Post by Steven Devijver
Hey,
As anyone on the list ever done some work in implementing business
scenarios with a Groovy DSL instead of a rules engine.
More specifically, have anyone ever been at a point where you were
thinking about using a rules engine for implementing a given scenario
yet as an alternative used or experimented with a DSL in Groovy.
If so, do you care to share information?
I don't know if he's on this list but conan from Drools is looking at
simple rules languages. I'm sure he would have valuable insights into
this problem.

If he doesn't respond to this thread you could ping him on IRC.

John Wilson
The Wilson Partnership
web http://www.wilson.co.uk
blog http://eek.ook.org



---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email
Guillaume Laforge
18 years ago
Permalink
The interesting question is when one should use a rules engine instead
of custom made rules in Groovy.

Groovy might have an edge on expressivity and DSL capabilities, but
you have to write the plumbing part of rule logic and evaluation.

Rules engines on the other hand might possibly be easier to setup (no
custom plumbing) but lack the expressivity you could bring to your
rules by creating DSLs.

My 2 euro-cents :-)

PS : Mark "conan" Proctor (added in CC) is probably not on the list,
but as John said, he might have good remarks to make on that topic
since he's working on Drools (aka JBoss Rules).
...
--
Guillaume Laforge
Groovy Project Manager
http://glaforge.free.fr/blog/groovy

---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email
Loading...