• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Seam and Drools Rule Engine

 
Ranch Hand
Posts: 162
Hibernate Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does seam provide supports or modules for configuring drools in enterprise application ?

Any link...

Thanks in Advance
 
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think Seam provides the ability to configure JBoss rules(previously Drools)

http://docs.jboss.org/seam/1.1GA/reference/en/html/drools.html
 
Author
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Author
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 162
Hibernate Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Wait for it ... wait .... wait .... NOW! Pafiffle! A perfect tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!