Required application code changes
- Last Updated: March 24, 2022
- 1 minute read
- Corticon
- Version 6.3
- Documentation
To embed Corticon Server in a Java or .NET application the application code you need to write is largely the same. The minimum requirements are:
- Instantiate a Corticon Server.
ICcServer corticonServer = CcServerFactory.getCcServer(); - Load your Decision Services.
corticonServer.addDecisionService("YourDSName","YourDS.eds", properties); - Invoke the Decision Service with your application data.
corticonServer.execute (yourPayload);
The Corticon Server API provides many options to:
- Instantiate and configure a Corticon Server
- Load and configure Decision Services
- Invoke Decision Services
- Retrieve performance metrics
- and more.
For a full description of the Corticon Server API, see the Server API Javadoc.