Monday Feb 18, 2013

Create Oracle Business Rules using the Java API

SOA Suite and BPM Suite 11g developers and end users normally develop and edit Rule sets
using graphical tools such as the JDeveloper Rule editor and the SOA Composer Web Application.

But Rules can also be created and manipulated using the Oracle Business Rules Java API,
in fact both of the graphical editors leverage the API to perform their work.

This blog post provides a Rules API Example that illustrates how to:

  •     Load an existing Rules Dictionary from the file system.
  •     Add a Java Fact to the dictionary Data Model.
  •     Add a new List of Values BucketSet to the Dictionary Data Model.
  •     Create and add a new Rule Set to the dictionary.
  •     Associate the new BucketSet with a given Fact property.
  •     Create a new If / Then Rule
  •     Create a new Decision Table with multiple Rules that leverage the new Bucketset.
  •     Validate and Save the updated Rules Dictionary

Read the full post and get the example here

About

Picture of Bob

I am an Oracle Architect specializing in Service Oriented Architecture and Business Process Management.


Any code presented is for educational purposes only, no warranty or support is implied.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today