Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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.
 
I carry this gun in case a vending machine doesn't give me my fritos. This gun and this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic