Osdc Michael Neale 2008

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite & 1 Event

    Osdc Michael Neale 2008 - Presentation Transcript

    1. “ Managing Business Logic with rule based technologies”
      • Michael Neale
      • OSDC – Sydney - 2008
      • And a little about me:
      • “ first Australian JBoss Employee”
      • Was lonely for a while (but now we are part of Red Hat family !).
    2. Rules/Expert Systems
      • Were once delivered as expert system shells
      • Extract logic “out of code”
      • Explicit rules
      • “On the fly” changes to rules
    3. History
      • 1970's – MYCIN
      • Production Rules
      • Generalised into a “shell” that can be re-used
      • 90's - “business rule engines”
    4. Production Rules
      • if/when <condition> then <action>
      • Logic programming
      • Logical chaining
      • (you may remember prolog)
    5. Why bother?
      • “Greenspunning”
      • Have been in use for some time
      • Being declarative is (often) good for you
    6. When to use
      • Domain expertise available
      • Dynamic changes to rules separate from SDLC
      • One point of truth for “the business rule”
    7. Pattern Matching
      • Pattern matching is central
      • ... but a quality “model” is needed
      • results in looser coupling
      • ... which means longer term change tolerance
    8.  
    9. Engines
      • ... inference or scripting engine?
    10. Scripting approach
      • Simple, easy
    11. Higher order logic
      • Higher order logic
      • Dealing with knowledge bases with lots of “static” data
      • RETE algorithm (an optimisation)
    12. Rete
    13. Rules “ Agenda” Rules finding facts or facts finding rules? Changed facts Stable facts
    14. Example applications
      • Underwriting, pricing insurance
      • Real time traffic monitoring and recommendation
      • Mortgage pricing
      • Claim (insurance) process legal compliance
      • VISA, Mastercard fraud detection
      • Logistics routing
    15. User interface
      • “visual metaphors”
    16.  
    17. A dose of reality
      • Over-promising in the 90's
      • Underdelivering
      • “who needs a programmer”
    18. CLIPS
      • Thanks NASA !
      • (defrule engine-sluggish &quot;&quot;
      • (engine-sluggish yes)
      • (not (repair ?))
      • =>
      • (assert (repair &quot;Clean the fuel line.&quot;)))
      • (defrule engine-misfires &quot;&quot;
      • (engine-misfires yes)
      • (not (repair ?))
      • =>
      • (assert (repair &quot;Point gap adjustment.&quot;)))
    19. Clips integration
      • Shell or command line style
      • Detailed C API and sample code
      • clips.h
      • Embed it in your native apps
    20. Drools
      • Targets JVM (also a .Net port) at present
      • Originated from codehaus community (now jboss)
      • Has developer + analyst tools
    21. Drools example
      • rule engine-sluggish
      • when
      • Engine(sluggish = true)
      • not Repair()
      • then
      • insert(new Repair(“clean fuel line”))
      • end
      • rule engine-misfires:
      • when
      • Engine(misfires=true)
      • not Repair()
      • then
      • insert(new Repair(“Point gap adjustment”))
      • end
    22. Thanks...
      • Questions?
      • michaelneale.blogspot.com
      • twitter.com/michaelneale
      • http://friendfeed.com/rooms/osdc

    + Michael NealeMichael Neale, 11 months ago

    custom

    751 views, 1 favs, 0 embeds more stats

    My slides from the OSDC 2008 talk.

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 751
      • 751 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 21
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Groups / Events