Professional Documents
Culture Documents
Presentation Summary
This session introduces the concept of Decision Services and explain their design in ILOG BRMS. We present an overview of the different runtime incarnations provided by WebSphere ILOG Business Rule Management System including Web Services, PoJos and EJBs. We cover a set of best practices to deploy and execute Decision Services on WebSphere Application Server including in cluster. Pierre FEILLET WebSphere ILOG BRMS Product Architect
Agenda
BRMS Overview
Terminology ILOG JRules 7.1 Platform
Decision Services
Deployment Engine Rule Execution Server Decision Warehouse
Integration guidelines
Platforms Topologies
BRMS Overview
Concepts
Business Rule Business Rule Management System Decision Service
Decision Tables
Business Rule A statement of business logic that: Derived from Business Policy Can be authored by business users Is executable
Decision Trees
BRMS Definition
A BRMS or Business Rule Management System is a software system used to define, deploy, execute, monitor and maintain the variety and complexity of decision logic that is used by operational systems within an organization or enterprise. This logic, also referred to as business rules, includes policies, requirements, and conditional statements that are used to determine the tactical actions that take place in applications and systems. - Wikipedia definition
Decision Service
A service that automates an operational business decision Contained Decision Logic is written and maintained by a Business User Separation from Business Processes and procedural application code
A technology for creating, maintaining and deploying rule based decision services
Reduces the time to deploy changes Improves the understanding of how decisions are made Increases opportunities for logic automation Favors the reuse of business logic
No, for the following reason: Too big Debt-To-Income ratio
User Tools
Rule Repository
Maintain
Rule Solutions Rule Team Decision Validation Server Services Custom Web Applications Rule Repository
Line Of Business
for Office
Share
Deploy
Production
Transparent Decision Services Rule Execution Rules for COBOL Server
10
eXecutable Rules
Platform Specific
11
Extractor
Deployment
RuleApp Archive
Execution
Rule Execution Server Rule Engine
12
13
14
Decision Services
EJB
POJO JCA
Rule Engine
15
Rule Engine
Execution kernel Optimized for condition & test sharing 100% Java
Programming model Passive component: runs only when invoked Synchronous Parameters & working memory In memory processing No duplication of processed objects No requirement on processed objects (Interface or whatever contract) Object Model Java (&.Net for JRules 2 .Net) classes passed by the classloader XML
16
Threading
MT safe Execute in the current thread No thread created in your back by the engine
17
18
19
Rule Sessions
EJB
POJO JCA
RuleApp/Ruleset Repository
Decision Warehouse DB
Decision Traces
20
21
WSDL WebService
eXecution Unit 22
Decision Warehouse
Decision Tracability Decisions recorded in a DB Traces flowing from RuleSessions Possible DAO customization to push Decision Traces into other channels (JMS, BI tools, ) Part of DVS Product GUI in RES Console Tab
Search Decisions, used to filter and display rule execution trace information Persistence Properties to specify the trace configuration for your session Clear Decisions to delete trace information from the Decision Warehouse database
23
Integration guidelines
Platforms Transaction Security Performances Deployment topologies
24
Supported Platforms
OS Application Servers IBM WebSphere Application Server V6.1.0.21 IBM WebSphere Application Server V7.0 IBM WebSphere Community Edition 2.1 IBM WebSphere Extended Deployment 6.1 Apache Tomcat 6.0 JBoss 4.2.3, 5.0.0 Oracle Application Server 10.1.3. WebLogic Server 9.2.3, 10.0.1, 10.3 Sun Java System Application Server 8.2
AIX on POWER Linux on IBM System z HP-UX on PA-RISC Solaris on SPARC HP-UX on IA64 Solaris on x86-64 IBM i Windows on x86 Linux on x86 Windows on x86-64 Linux on x86-64 z/OS Linux on POWER
List of supported operating systems for WebSphere ILOG JRules BRMS 7.0
25
Supported Platforms
JVM
IBM 64-bit SDK for Windows - 5.0, 6.0 Oracle JRockit for Windows x64 - 5.0, 6.0 Sun JDK for Windows x64 - 5.0, 6.0
Databases
IBM DB2 for LUW 8.2, 9.1, 9.5, 9.7 Oracle 10g, 11g Apache Derby 10.4 MySQL V5.0 PostgreSQL V8.3 SQL Server 2005, 2008 Sybase 12.5, 15 Pointbase
26
Cobol
Rules for Cobol product Cobol source generation from Business Rules
27
Security & Transaction in WAS Security RES leverages JEE & WAS security Transaction Pojo RuleSessions & Engine fit to transactions XU Resource Adapter can be set transactional or not If not transactional then you can use it multiple times in the same transaction Transactional is local and not XA: so no reentrance allowed
28
Performances
Transaction per second by ruleset size and execution type
45000 800 40000 700 35000 600 30000 500 400 300 200 100 Execution on Java XOM Execution on XML XOM 5824 WS Execution (HTDS) 11648 14560 8736 Nb rules 0 2912 5824 8736 Nb rules 11648 14560 0 2912 5000 25000 Execution on Java XOM Execution on XML XOM WS Execution (HTDS) 15000 10000 20000 Java XOM
X3550M2 / DESTINY 64-bit Windows Server 2008 Enterprise (SP1) 52.0 GB Intel Xeon X5570 @ 2.93GHz (2 processors 8 cores -16 threads) WAS 7.0.x 7.0.x
29
30
Cell
https
http
Browser
WebSEAL Proxy Server Apache HTTPD (mod_proxy) WAS Node Decision Service DB Server RES DB
Cluster
Red Zone Yellow Zone
Green Zone
31
Take Away WebSphere ILOG JRules enable your organization to manage Decision Services
From Business User authoring to execution on your IT
Large set of supported platforms including WAS 7.0 & 6.1 with cluster
32
Tuesday
a.m. 2203: LAB 1545: BRMS - BPM p.m. 1818: BRMS for Business Users 2160: Feedback 2981: Meet the Experts 1499: BRMS for z 2517: Business Agility 2140: Feedback 2160: Feedback 2885: Panel 2080: Healthcare 1734: BRMS for COBOL
Wednesday
a.m. 1545: BRMS - BPM 2730: Public Sector 1736: Performance p.m. 1547: LAB, BRMS-BPM 2140: Feedback 1848: Governance 1922: Best Practices 2160: Feedback 2013: BOF (multi-topic)
Thursday
a.m. 1997: BRMS - BPM 1749: Decision Services on WAS (repeats on Friday a.m.) 2160: Feedback p.m. 2140: Feedback
Each completed survey increases your chance to win an Apple iPod Touch with daily drawing sponsored by Alliance Tech
34
35
Copyright and Trademarks IBM Corporation 2009. All rights reserved. IBM, the IBM logo, ibm.com and the globe design are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml. Other company, product, or service names may be trademarks or service marks of others.
36