aspose file tools*
The moose likes Other Application Frameworks and the fly likes Seam and Drools Rule Engine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Seam and Drools Rule Engine" Watch "Seam and Drools Rule Engine" New topic
Author

Seam and Drools Rule Engine

Kuladip Yadav
Ranch Hand

Joined: Jul 30, 2008
Posts: 162

Does seam provide supports or modules for configuring drools in enterprise application ?

Any link...

Thanks in Advance
Paras Jain
Ranch Hand

Joined: Feb 26, 2005
Posts: 137
I think Seam provides the ability to configure JBoss rules(previously Drools)

http://docs.jboss.org/seam/1.1GA/reference/en/html/drools.html


Paras Jain
SCJP 5.0
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Here is a more updated version of that chapter:

http://docs.jboss.org/seam/latest/reference/en-US/html/drools.html

When posting Seam documentation links, make sure that it is a reference to "latest" rather than a specific version number.


Dan Allen | http://mojavelinux.com | Author of Seam in Action - http://mojavelinux.com/seaminaction
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Seam provides a built-in component named rulesAgent that handles loading the rules and which you can use to fire rules and affect values in the working memory. After the rules have fired, you can access the working memory to see what changed.

My feeling is that the best way to get into Drools with Seam is to start with the rule-based authorization. You don't have to fire the rules, since Seam takes care of that for you, so it is a good way to concentrate on the syntax of the rules and the idea behind them. Once you are comfortable writing and using rules, then you can branch off and do your own thing.
Kuladip Yadav
Ranch Hand

Joined: Jul 30, 2008
Posts: 162

Thanks Dan Allen and Paras Jain for reply.

I have one more query.

I had used drools rule engine 2.5 based on spring frame work
that provide way to write rule in annotation based java class instead of drl file.
Does seam provide such facility to write business rules in java annotated class ?

Thanks
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Does seam provide such facility to write business rules in java annotated class?


Not to my knowledge. I would either post on seamframework.org or create a JIRA issue.
 
Consider Paul's rocket mass heater.
 
subject: Seam and Drools Rule Engine