Interfaces

SAS Micro Analytic Service has a layered set of interfaces:
C
The SAS Micro Analytic Service core engine is written in C for high performance.
Note: The C interface is not accessible. However, it is important to be aware of it because it does have an impact on threading, tuning, logging configuration, and options for monitoring.
Java
a thin Java layer that communicates with the C interface through the Java Native Interface (JNI).
REST/JSON
adds functionality such as persistence and clustering support and communicates with the SAS Micro Analytic Service core engine through the Java interface.
All three interfaces are functionally similar. However, the REST interface handles certain functionality automatically, such as initialization and user context management. By contrast, the Java and C interfaces provide methods to control these elements directly.
The following example illustrates SAS Micro Analytic Service interfaces allowing you to publish code and execute it many times. Although you might be using SAS Micro Analytic Service 1.2 through the REST interface, this example uses the Java interface in order to show all of the steps, including those that the REST interface handles automatically.
Interfaces Example
Interface Examples