Your SlideShare is downloading. ×
Rules With Drools
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Rules With Drools

9,395
views

Published on

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.


1 Comment
5 Likes
Statistics
Notes
No Downloads
Views
Total Views
9,395
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
347
Comments
1
Likes
5
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Rules with Drools
    • Gaurav Kohli
    • Saket Vishal
  • 2. Recognize this? 3.1732
  • 3. What about this? Akshay Kumar, 32, Chandini Chowk, Delhi, 110006
  • 4. Lets talk about Akshay Kumar
  • 5. Some rules on names
    • First Name + Last Name
    • First Name + First Name + Last Name
    • (First Name)+ + Last Name
    • First Name + First Name
      • Saket Vishal
  • 6. Implementing these rules in Java
  • 7. Demo
  • 8. 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
  • 9. Introducing Drools
    • Basically, a rule engine
    • Rule Engine: Platform that provides functionality to manage rules
    • Rule: An if else condition (Business Logic) ‏
  • 10. Rules in Drools
  • 11. Demo
  • 12. The Big Picture
  • 13. Back to rules in Drools
    • DSL – Domain Specific Languages
      • Human readable rules
  • 14. Demo
  • 15. Behind Drools
    • RETE
  • 16. Behind Drools
  • 17. 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.
  • 18. 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
  • 19. Advanced Drools
    • Drools Flow
      • Loan approval
    • Drools Fusion
      • Fraud detection
    • Drools Guvnor
      • BRMS
  • 20. ?
  • 21. References
    • Drools
      • http://www.jboss.org/drools
      • Drools JBoss Rules 5.0 Developer's Guide
    • RETE
      • http:// en.wikipedia.org/wiki/Rete_algorithm
  • 22. Thank You!