Rules With Drools
Upcoming SlideShare
Loading in...5
×
 

Rules With Drools

on

  • 10,459 views

This ppt.was presented by Gaurav Kohli and Saket Vishal at OSScamp in Delhi on 6th Sep 09.

This ppt.was presented by Gaurav Kohli and Saket Vishal at OSScamp in Delhi on 6th Sep 09.

Statistics

Views

Total Views
10,459
Views on SlideShare
10,410
Embed Views
49

Actions

Likes
5
Downloads
283
Comments
1

5 Embeds 49

http://www.slideshare.net 35
http://xebee.xebia.in 11
http://webcache.googleusercontent.com 1
http://users.unjobs.org 1
http://www.slashdocs.com 1

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Rules With Drools Rules With Drools Presentation Transcript

  • Rules with Drools
    • Gaurav Kohli
    • Saket Vishal
  • Recognize this? 3.1732
  • What about this? Akshay Kumar, 32, Chandini Chowk, Delhi, 110006
  • Lets talk about Akshay Kumar
  • Some rules on names
    • First Name + Last Name
    • First Name + First Name + Last Name
    • (First Name)+ + Last Name
    • First Name + First Name
      • Saket Vishal
  • Implementing these rules in Java
  • Demo
  • Problems in implementing with Java
    • Frequent changes to rules(conditions) ‏
    • Lack of centralization of rules
      • Difficult to analyse and manage
    • Non technical people(Business Analysts ..) can't create/update rules
    • Performance
  • Introducing Drools
    • Basically, a rule engine
    • Rule Engine: Platform that provides functionality to manage rules
    • Rule: An if else condition (Business Logic) ‏
  • Rules in Drools
  • Demo
  • The Big Picture
  • Back to rules in Drools
    • DSL – Domain Specific Languages
      • Human readable rules
  • Demo
  • Behind Drools
    • RETE
  • Behind Drools
  • When not to use Drools If your business logic is well defined/static and doesn't change often, you don't need to change rules at run-time. If your rules are simple, self-contained, and usually spanning only a single object (for example, a check that user's age is less than 21). If you have a memory constrained environment. If your project is a one-shot effort and it will never be used again or maintained over time.
  • Alternatives to Drools ILOG (now IBM)—JRules Fair Isaac—Blaze Advisor Corticon's BRMS, Haley (now Oracle) Business Rules Engine Pegasystems—PegaRules, Production Systems Technologies—OPSJ CLIPS OpenRules or Jess
  • Advanced Drools
    • Drools Flow
      • Loan approval
    • Drools Fusion
      • Fraud detection
    • Drools Guvnor
      • BRMS
  • ?
  • References
    • Drools
      • http://www.jboss.org/drools
      • Drools JBoss Rules 5.0 Developer's Guide
    • RETE
      • http:// en.wikipedia.org/wiki/Rete_algorithm
  • Thank You!