• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Seam and Drools Rule Engine

 
Ranch Hand
Posts: 162
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic