wCMF Wiki : JBossRules

HomePage :: Categories :: PageIndex :: RecentChanges :: Login/Register

Revision [316]

Last edited on 2007-10-04 11:21:26 by JuergenHallpap
Additions:
A set of rules is defined in **rule base**. The data used as input for the applicable rules is called **facts**. The **Working Memory** is a container for the facts.
Deletions:
A set of rules is defined in **rule base**. The data used as input for the applicable rules is called **facts**. The **WorkingMemory** is a container for the facts.


Revision [315]

Edited on 2007-10-04 11:20:41 by JuergenHallpap
Additions:
//rule "name"//
//attributes//
//when//
//LHS//
//then//
//RHS//
//end//
Deletions:
rule "name"
attributes
when
LHS
then
RHS
end


Revision [314]

Edited on 2007-10-04 11:19:10 by JuergenHallpap
Additions:
////
//policyPricingRules//
//
//
Deletions:
// //
// policyPricingRules//
//
//


Revision [313]

Edited on 2007-10-04 11:18:19 by JuergenHallpap
Additions:
Drools rules are defined in declarative language. Rules are defined like this:
rule "name"
attributes
when
LHS
then
RHS
end
A set of rules is defined in **rule base**. The data used as input for the applicable rules is called **facts**. The **WorkingMemory** is a container for the facts.
Drools may be easily integrated in [[Seam]]:
First, the rule based must be defined in the Seam //components.xml//:
////
// //
// policyPricingRules//
//
//
//
//
The WorkingMemory needs to be inserted in the Seam conversation:
////
////
In the Seam component, the engine is used like this:
////
//@In WorkingMemory policyPricingWorkingMemory;//
////
//@In Policy policy;//
//@In Customer customer;//
////
//public void pricePolicy() throws FactException//
//{//
//policyPricingWorkingMemory.assertObject(policy);//
//policyPricingWorkingMemory.assertObject(customer);//
//policyPricingWorkingMemory.fireAllRules();//
//}//
The policy and customer objects (the facts) are added to the working memory. Then the rules processing is started.


Revision [312]

Edited on 2007-10-04 11:00:10 by JuergenHallpap
Additions:
"JBoss Rules is an open source and standards-based business rules engine for easy business policy access, change, and management. JBoss Rules is a fast, highly efficient rules engine that makes it easy for a business analyst or auditor to view business rules, as they are encoded in your IT application infrastructure, to verify that the encoded rules indeed implement the documented business policies. JBoss Rules also supports a variety of language and decision table inputs, making it easy to quickly modify business policies to respond to opportunities and competitive threats."
Deletions:
JBoss Rules is an open source and standards-based business rules engine for easy business policy access, change, and management. JBoss Rules is a fast, highly efficient rules engine that makes it easy for a business analyst or auditor to view business rules, as they are encoded in your IT application infrastructure, to verify that the encoded rules indeed implement the documented business policies. JBoss Rules also supports a variety of language and decision table inputs, making it easy to quickly modify business policies to respond to opportunities and competitive threats."


Revision [311]

Edited on 2007-10-04 10:58:50 by JuergenHallpap
Additions:
For the Java generator framework we plan to enable the genration of business rules. To facilitate this, we want to integrate a rule framework (engine). A good product seems to be [[http://www.jboss.com/products/rules JBoss Rules]] (Drools):

JBoss Rules is an open source and standards-based business rules engine for easy business policy access, change, and management. JBoss Rules is a fast, highly efficient rules engine that makes it easy for a business analyst or auditor to view business rules, as they are encoded in your IT application infrastructure, to verify that the encoded rules indeed implement the documented business policies. JBoss Rules also supports a variety of language and decision table inputs, making it easy to quickly modify business policies to respond to opportunities and competitive threats."

Deletions:
"[[http://www.jboss.com/products/rules JBoss Rules]] is an open source and standards-based business rules engine for easy business policy access, change, and management. JBoss Rules is a fast, highly efficient rules engine that makes it easy for a business analyst or auditor to view business rules, as they are encoded in your IT application infrastructure, to verify that the encoded rules indeed implement the documented business policies. JBoss Rules also supports a variety of language and decision table inputs, making it easy to quickly modify business policies to respond to opportunities and competitive threats."


Revision [310]

The oldest known version of this page was created on 2007-10-04 10:54:28 by JuergenHallpap
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.1361 seconds