Embedded managed Java XOM in Rule Execution Server

Embedded managed Java™ XOMs are managed Java XOM resources (.jar) and libraries that are included in a RuleApp archive. You can download or deploy RuleApp archives with embedded managed Java XOMs in the Rule Execution Server console. By embedding managed Java XOMs in a RuleApp archive, you can easily maintain the version of the managed Java XOM and the version of the corresponding ruleset together.

The embedded managed Java XOM feature can be operated from the Rule Execution Server console, the REST APIs, or the Ant tasks in Rule Execution Server.

Table 1. Embedded managed Java XOMs in Rule Execution Server
Module or tool Deploy a RuleApp archive with embedded managed Java XOMs Create or download a RuleApp archive with embedded managed Java XOMs Remove Java XOM resources or libraries cleanly
Rule Execution Server console ""

For more information, see Deploying RuleApp archives

""

For more information, see Archiving RuleApps

""

For more information, see Removing referenced Java XOM resources and libraries

REST APIs ""

For more information, see Decision Server REST API - ruleapps Resource - POST (application/octet-stream) Method

You can use the REST API test tool in the Rule Execution Server console to test the API:
  1. Go to the REST API tab > /ruleapps tab.
  2. Use deployRuleAppArchive method to deploy a RuleApp archive.
""

For more information, see Decision Server REST API - ruleapps/{ruleappname}/{ruleappversion}/archive Resource - GET Method

You can use the REST API test tool in the Rule Execution Server console to test the API:
  1. Go to the REST API tab > /ruleapps tab.
  2. Use getRuleAppArchive method to create a RuleApp archive. Select xom in the URL Query Parameters section and set it to true.
""
You can use the REST API test tool in the Rule Execution Server console to test the API:
  • Go to the REST API tab > the /libraries tab. Use deleteLibrary method to delete a library and links pointing to the library.
  • Go to the REST API tab > the /xoms tab. Use deleteResource method to delete a managed XOM and links pointing to the resource.
Ant task ""

For more information, see Deploying and writing RuleApps by running Ant tasks

""
For more information, see the following topics:
""

For more information, see res-delete-xom-file

Remember: The embedded managed Java XOM feature is also available in Decision Center and Build Command.