Differences between the Oracle Determinations Engine .NET and Java API's   

As the Oracle Determinations Engine API is essentially the same for .NET as it is for Java, the one set of documentation has been provided for both deployments. There are however, some minor differences:

Oracle Determinations Engine for .NET API:

The default installation location for Oracle Determinations Engine is C:\Program Files\Oracle\Determinations

 

The C# interface is in the Oracle.Determinations.Engine namespace, you should include the following statement in C# files:

using Oracle.Determinations.Engine;

 

Within the C# project, you must create a reference to the libraries containing the Oracle Determinations Engine, and associated runtime services, which are installed at:

<installation-location>\Engine\Net\Oracle.Determinations.Engine.dll
<installation-location>\Engine\Net\Oracle.Determinations.Masquerade.dll

Oracle Determinations Engine for Java API:

The default installation location for Oracle Determinations Engine is C:\Program Files\Oracle\Determinations

 

Java programmers wishing to use the Java interface to Oracle Determinations Engine should include the following package:

import com.oracle.determinations.engine.*;

 

In order for the Java Virtual Machine to find the determinations engine classes, the CLASSPATH environment variable should be modified to include the location of the oracle-determinations-engine-9.3.0.jar file. This path will be:

<installation-location>\Engine\java\oracle-determinations-engine-9.3.0.jar

 

Depending on the version of Java being used, it may be necessary to include other libraries, namely the XML parsing libraries. These paths will be:

<installation-location>\Engine\java\stax-1.2.0.jar
<installation-location>\Engine\java\stax-api-1.0.1.jar
<installation-location>\Engine\java\xerces-1.4.4.jar
<installation-location>\Engine\java\xml-apis.jar

 

Other differences between the .NET and Java API's are described in the following topics:

Capitalization

Enumerators

Enumerated Constants

Objects and Collections

Type Names

 

Note: The various API Reference zip files are installed with the application at the following locations:

C:\Program Files\Oracle\Policy Modeling\help\api\determinations-engine-doc.zip

C:\Program Files\Oracle\Policy Modeling\help\api\determinations-engine-net.zip

C:\Program Files\Oracle\Policy Modeling\help\api\masquerade-net.zip

C:\Program Files\Oracle\Policy Modeling\help\api\web-determinations-doc.zip

Also note that the default installation location "C:\Program Files\Oracle\Policy Modeling" may be changed by the user.