没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Business rules are statements that describe business policies. For example, a car rental company might use the following business rule: If the age of a driver is younger than 21, then decline to rent.
资源推荐
资源详情
资源评论
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![rar](https://img-home.csdnimg.cn/images/20241231044955.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![zip](https://img-home.csdnimg.cn/images/20241231045053.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![](https://csdnimg.cn/release/download_crawler_static/1312692/bg1.jpg)
Oracle® Business Rules
User’s Guide
10g (10.1.3.1.0)
B28965-01
September 2006
![](https://csdnimg.cn/release/download_crawler_static/1312692/bg2.jpg)
Oracle Business Rules User’s Guide, 10g (10.1.3.1.0)
B28965-01
Copyright © 2005, 2006, Oracle. All rights reserved.
Primary Author: Thomas Van Raalte
Contributing Author: Kevin Yu Hwang
Contributors: Qun Chen, Ching Luan Chung, David Clay, Kathryn Gruenefeldt, Gary Hallmark, Phil
Varner, Neal Wyse, Lance Zaklan
The Programs (which include both the software and documentation) contain proprietary information; they
are provided under a license agreement containing restrictions on use and disclosure and are also protected
by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly,
or decompilation of the Programs, except to the extent required to obtain interoperability with other
independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in
the documentation, please report them to us in writing. This document is not warranted to be error-free.
Except as may be expressly permitted in your license agreement for these Programs, no part of these
Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs on
behalf of the United States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data
delivered to U.S. Government customers are "commercial computer software" or "commercial technical data"
pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As
such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation
and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license
agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial
Computer Software--Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA
94065.
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently
dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup,
redundancy and other measures to ensure the safe use of such applications if the Programs are used for such
purposes, and we disclaim liability for any damages caused by such use of the Programs.
Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective owners.
The Programs may provide links to Web sites and access to content, products, and services from third
parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites.
You bear all risks associated with the use of such content. If you choose to purchase any products or services
from a third party, the relationship is directly between you and the third party. Oracle is not responsible for:
(a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the
third party, including delivery of products or services and warranty obligations related to purchased
products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from
dealing with any third party.
![](https://csdnimg.cn/release/download_crawler_static/1312692/bg3.jpg)
iii
Contents
Preface................................................................................................................................................................. ix
Audience....................................................................................................................................................... ix
Documentation Accessibility..................................................................................................................... ix
Related Documentation.............................................................................................................................. x
Conventions ................................................................................................................................................. x
1 Overview of Oracle Business Rules
1.1 Introduction to Oracle Business Rules..................................................................................... 1-2
1.1.1 What Are Business Rules? .................................................................................................. 1-2
1.1.2 What Is a Data Model?........................................................................................................ 1-3
1.1.3 What Is a Rule-Based System?........................................................................................... 1-3
1.2 Oracle Business Rules Components......................................................................................... 1-4
1.2.1 Introducing Oracle Business Rules Rule Author ............................................................ 1-4
1.2.2 Introducing Oracle Business Rules Rules SDK ............................................................... 1-5
1.2.3 Introducing Oracle Business Rules RL Language........................................................... 1-5
1.2.4 Introducing Oracle Business Rules Rules Engine ........................................................... 1-6
1.3 Oracle Business Rules Rule Author Terms and Concepts .................................................... 1-6
1.3.1 Working with Rules............................................................................................................. 1-6
1.3.2 Working with Rule Sets ...................................................................................................... 1-7
1.3.3 Working with Repositories and Dictionaries .................................................................. 1-7
1.3.4 Working with Facts ............................................................................................................. 1-7
1.3.5 Working with Functions Variables and Constraints ...................................................... 1-8
1.4 Steps for Rule-Enabling a Java Application............................................................................ 1-9
1.4.1 Identify Application Areas to Rule-Enable...................................................................... 1-9
1.4.2 Provide Rule Author Definitions for the Data Model................................................. 1-10
1.4.3 Develop a Business Vocabulary for the Data Model ................................................... 1-10
1.4.4 Write and Customize Rules............................................................................................. 1-10
1.4.5 Modify or Create Application Logic That Uses Oracle Rules Engine....................... 1-10
1.4.6 Test the Rule-Enabled Application ................................................................................ 1-10
2 Getting Started with Rule Author
2.1 Creating a Rule Author User..................................................................................................... 2-2
2.2 Starting Rule Author .................................................................................................................. 2-2
2.3 Rule Author Home Page............................................................................................................ 2-4
2.4 Creating and Saving a Dictionary for the Car Rental Sample.............................................. 2-4
![](https://csdnimg.cn/release/download_crawler_static/1312692/bg4.jpg)
iv
2.4.1 Connecting to a Rule Author Repository......................................................................... 2-4
2.4.2 Creating a Rule Author Dictionary................................................................................... 2-6
2.4.3 Saving a Rule Author Dictionary with a Version ........................................................... 2-7
2.4.4 Saving a Rule Author Dictionary ...................................................................................... 2-8
2.5 Defining a Data Model for the Car Rental Sample ................................................................ 2-8
2.5.1 Using Java Objects as Facts in the Car Rental Sample.................................................... 2-9
2.5.2 Adding Java Classes and Packages to Rule Author ....................................................... 2-9
2.5.3 Importing Java Classes to a Data Model ....................................................................... 2-11
2.5.4 Saving the Current State of Definitions......................................................................... 2-12
2.6 Defining the Business Vocabulary for the Car Rental Sample .......................................... 2-13
2.6.1 Specifying the Business Vocabulary for Java Fact Definitions................................... 2-13
2.6.2 Specifying the Business Vocabulary for Functions...................................................... 2-13
2.6.3 Specifying the Visibility for Properties and Methods ................................................. 2-14
2.7 Defining a Rule for the Car Rental Sample .......................................................................... 2-14
2.7.1 Creating a Rule Set for the Car Rental Sample............................................................. 2-14
2.7.2 Creating a Rule for the Car Rental Sample ................................................................... 2-15
2.8 Customizing Rules for the Car Rental Sample .................................................................... 2-23
2.9 Creating a Java Application Using Oracle Business Rules ................................................ 2-24
2.9.1 Importing the Rules SDK and Rules RL Language Classes ....................................... 2-25
2.9.2 Initializing the Repository with Rules SDK.................................................................. 2-25
2.9.3 Loading a Dictionary with Rules SDK........................................................................... 2-26
2.9.4 Specifying a Rule Set and Generating RL Language with Rules SDK...................... 2-26
2.9.5 Initializing and Executing a Rule Session ..................................................................... 2-27
2.9.6 Asserting Business Objects Within a Rule Session ...................................................... 2-27
2.9.7 Using the Run Function with a Rule Session................................................................ 2-28
2.10 Running the Car Rental Sample Using the Test Program.................................................. 2-28
3 Working with Rule Author Features
3.1 Working with Variables ............................................................................................................. 3-1
3.2 Working with Constraints ......................................................................................................... 3-2
3.3 Working with RLFacts................................................................................................................ 3-4
3.4 Working with Functions ............................................................................................................ 3-6
3.5 Working with Rules.................................................................................................................... 3-8
3.6 Viewing Java Objects in a Data Model .................................................................................... 3-9
3.6.1 Specifying Visibility and Object Chaining for Rule Author Lists.............................. 3-10
3.7 Generating Oracle Business Rules RL Language Text ....................................................... 3-11
3.7.1 Generating Viewing and Checking RL Language Text .............................................. 3-11
3.8 Configuring Rule Author Dictionary Properties................................................................. 3-11
3.8.1 Using the Advanced Test Expression Option............................................................... 3-12
3.8.2 Using the Logging Option............................................................................................... 3-13
3.9 Deleting a Rule Author Dictionary ....................................................................................... 3-13
3.10 Importing and Exporting a Dictionary ................................................................................. 3-14
3.11 Working with Test Rulesets ................................................................................................... 3-16
3.12 Invoking Rules and Obtaining Rules Engine Results......................................................... 3-18
3.12.1 Overview of Results Examples ....................................................................................... 3-19
3.12.2 Using a Global Variable to Obtain Results.................................................................... 3-19
3.12.3 Using Container Objects to Obtain Results................................................................... 3-20
![](https://csdnimg.cn/release/download_crawler_static/1312692/bg5.jpg)
v
3.12.4 Using Reasoned On Objects to Obtain Results............................................................. 3-21
4 Using XML Facts with Rule Author
4.1 Overview of Using XML Documents and Schemas with Rule Author .............................. 4-2
4.2 Creating a Rule Author User and Starting Rule Author....................................................... 4-2
4.3 Creating and Saving a Dictionary for the XML Car Rental Sample.................................... 4-2
4.3.1 Connecting to a Rule Author Repository......................................................................... 4-3
4.3.2 Creating a Rule Author Dictionary................................................................................... 4-4
4.3.3 Saving a Rule Author Dictionary with a Version ........................................................... 4-5
4.3.4 Saving a Rule Author Dictionary ...................................................................................... 4-6
4.4 Defining a Data Model for the XML Car Rental Sample....................................................... 4-7
4.4.1 Using XML Schema as Facts in the XML Car Rental Sample........................................ 4-7
4.4.2 Adding XML Facts for the Car Rental Sample (XML Schema Processing)................. 4-7
4.4.3 Importing XML Schema Elements to a Data Model .................................................... 4-10
4.4.4 Viewing XML Facts in a Data Model............................................................................. 4-12
4.4.5 Saving the Current State of XML Fact Definitions....................................................... 4-12
4.5 Defining the Business Vocabulary for the XML Car Rental Sample ................................ 4-12
4.5.1 Specifying the Business Vocabulary for XML Fact Definitions ................................. 4-13
4.5.2 Specifying the Business Vocabulary for Functions...................................................... 4-14
4.5.3 Specifying the Visibility for Properties and Methods for XML Facts ....................... 4-14
4.6 Defining a Rule for the XML Car Rental Sample ................................................................ 4-14
4.6.1 Creating a Rule Set for the XML Car Rental Sample ................................................... 4-15
4.6.2 Creating a Rule for the XML Car Rental Sample ......................................................... 4-15
4.7 Customizing Rules for the XML Car Rental Sample .......................................................... 4-23
4.8 Creating a Java Application with a Rule Session Using XML Facts................................. 4-24
4.8.1 Importing the Rules SDK and Rules RL Classes.......................................................... 4-25
4.8.2 Creating a JAXB Context and Unmarshalling the XML Document.......................... 4-26
4.8.3 Initialize the Repository with Rules SDK...................................................................... 4-26
4.8.4 Loading A Dictionary with Rules SDK ......................................................................... 4-26
4.8.5 Loading a RuleSet and Generating RL Language for a Data Model and Rule Set . 4-27
4.8.6 Initializing and Executing a Rule Session ..................................................................... 4-27
4.8.7 Asserting XML Data from Within a Rule Session........................................................ 4-28
4.8.8 Using the Run Function with a Rule Session................................................................ 4-28
4.9 Running the XML Car Rental Sample Using the Test Program........................................ 4-28
5 Using JSR-94
5.1 Oracle Business Rules with JSR-94 Rule Execution Sets ...................................................... 5-1
5.1.1 Creating a JSR-94 Rule Execution Set from Rule Sets in a File Repository ................. 5-1
5.1.2 Creating a JSR-94 Rule Execution Set from a WebDAV Repository ............................ 5-2
5.1.3 Creating a Rule Execution Set from Oracle Business Rules RL Language Text ......... 5-3
5.1.4 Creating a Rule Execution Set from RL Language Text Specified in a URL............... 5-5
5.1.5 Creating Rule Execution Sets with Rule Sets from Multiple Sources .......................... 5-6
5.2 Using the JSR-94 Interface with Oracle Business Rules......................................................... 5-6
5.2.1 Creating a Rule Execution Set with CreateRuleExecutionSet....................................... 5-6
5.2.2 Creating a Rule Session with createRuleSession............................................................. 5-7
5.2.3 Working with JSR-94 Metadata ......................................................................................... 5-7
剩余155页未读,继续阅读
资源评论
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
- wwlfelix2013-01-23毕业论文需要英文引用,下载看能否有内容做参考
![avatar](https://profile-avatar.csdnimg.cn/8a66da19e9c34c6eb01949d789ad6861_jiehuaou.jpg!1)
jiehuaou
- 粉丝: 0
- 资源: 9
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
最新资源
- CarSim与Matlab Simulink联合仿真下的线控转向容错控制模型研究:四轮电动汽车转向失效控制模型及参考文献概览,Carsim与Matlab Simulink联合仿真下的线控转向四轮电动汽
- candb软件缺少Cdbstat
- PLL锁相环MATLAB仿真模型:新能源并网相位检测的核心部件,附理论资料,已调试完毕可直接使用,PLL锁相环MATLAB仿真模型:新能源并网相位检测的核心部件,附理论资料,已调试完成可直接使用,PL
- mybatis概述总结
- Comsol模拟下的异常折射现象与涡旋光产生的深入探究,Comsol模拟下的异常折射现象与涡旋光的生成研究,Comsol异常折射与涡旋光产生 ,Comsol异常折射; 涡旋光产生; 异常折射与涡旋光
- IDEOFY LA-08 Logic Analyzer v1.9.7.0 USB XP/WIN7 32/64Bit Driver
- 基于MMC的模块化多电平变换器与先进控制技术在储能、整流及逆变领域的应用研究,基于MMC的模块化多电平变换器与先进控制技术在储能系统中的应用研究,MMC,模块化多电平变器,多电平变器,MMC,MMC型
- CISO安全团队设计指南:如何设计实用的网络安全团队结构
- MySql数据库安装步骤PDF
- STM32 HAL库USART串口中断编程:环形缓冲区防止数据丢失
- MATLAB环境下多尺度局部一维多项式信号降噪方法及其在各类信号处理中的应用,基于MATLAB R2021B环境的多尺度局部一维多项式信号降噪技术与应用探索,MATLAB环境下基于多尺度局部一维多项式
- 基于Matlab Simulink平台的IEEE 69节点系统仿真分析与分布式电源接入研究,基于Matlab Simulink平台的IEEE 69节点系统仿真:潮流计算与故障分析,含分布式电源接入影响
- 信捷XD3 PLC控制六轴机器人:梯形图与C语言编程结合,维纶通触摸屏展示复杂操作,PLC六轴机器人控制:信捷XD3系统结合梯形图与C语言编程,维纶通触摸屏精准显示与操作,PLC的六轴机器人,信捷XD
- deepseek本地部署教程PDF
- 基于 DeepSeek - VL2 的图像分类与详细描述的 Python 源码
- 昆仑通泰智能控制:暖通空调高效运行之组态程序,昆仑通泰暖通空调控制组态程序:智能化管理与高效控制一体化解决方案,昆仑通泰暖通空调控制组态程序 ,昆仑通泰; 暖通空调; 控制; 组态程序,昆仑通泰:暖通
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)