Mauricio Salatino [
http://community.jboss.org/people/salaboy21] created the discussion
"Re: why to use drools rules and not Java code?"
To view the discussion, visit:
http://community.jboss.org/message/581189#581189
--------------------------------------------------------------
Hi there, I'm back.
Some of the advatanges of using a Rule Engine against plain java code are:
- Declarative definition of your business rules, that can be expressed using a domain
specific language that business analysist can validate and understand. In other words you
can define what to do and not how to do it.
- You keep the business logic decoupled from your application, letting you change it
without recompiling your entire application.
- You need to understand that having rules is not the same of having multiple IF/ELSE
statements. The analysis of true statements are not done sequencially, allowing you to
analyze multiple conditions much faster.
- Using rules you don't burry the business logic inside your application code
Among other advantages
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/581189#581189]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]