Java XOM artifacts
When you deploy a Java™ XOM to Rule Execution Server, Java XOM resources and libraries are generated.
You can list two types of archives in the value of the ruleset.managedxom.uris property. The value must target a JAR or a ZIP archive, or a combination of the two.
JAR files provide efficient packaging and access to distributed content. ZIP files provide a way to store and export the compiled source code from a Java project in an Eclipse environment.
Java XOM resources
Java XOM resources use the resuri protocol.
- A JAR archive file: a standard Java archive with the .jar file
name extension. For JAR files, the resource URI is composed of the
initial name of the Java archive,
followed by a version number that is incremented each time the checksum
changes. For example:
resuri://LoanValidationXOM.jar/1.4
- A ZIP archive file: ZIP files are used by Rule Designer to package a set of .class files and other type of files used by the .class files. For ZIP files, the resource URI is composed of the initial name of the Java Project concatenated with the .zip extension and followed by a version number. The version number is incremented each time the checksum of one of the archived files changes. For example: resuri://LoanValidationXOM.zip/1.4
If the URI does not include the version number, the last version of the same name is used.
Java XOM libraries
A Java XOM library is a set of resources or libraries, or both. Libraries use the reslib protocol. For example: reslib://LoanValidationXOM/1.4