Application Servers
Build and Deploy WAR Files
Use the standard Maven WAR plugin and the supplied OpenRules project files to create an application-server deployment from a tested model.
Sample project
Build from VacationDaysServlet.
The installed VacationDaysServlet project demonstrates WAR packaging for the tested Vacation Days model. Add deployment=war to project.properties, then run package.bat or Maven directly.
mvn clean package war:war


Maven configuration
Control the archive name and service endpoint.
The project’s pom.xml configures maven-war-plugin and defines the WAR context name. The decision service endpoint comes from the model Environment table and can be overridden with model.endpoint in project.properties.

Deploy and test
Install the WAR like any Java web application.
For Apache Tomcat, copy the generated WAR file to webapps and start Tomcat. Open the application context URL to see the decision service endpoint.
Send a POST request with generated JSON test data using POSTMAN or another HTTP client. The same WAR can be deployed through the standard facilities of JBoss, WebLogic, WebSphere, and other compatible servers.


Deployment options
Choose the integration that fits your architecture.
Each option uses the same business-owned OpenRules decision model.
Invoke a compiled model from Java.
Open guide →02AWS LambdaDeploy a serverless AWS function.
Open guide →03MS Azure FunctionPublish a model as an Azure Function.
Open guide →04RESTful Web ServicesRun with OpenRules REST or Spring Boot.
Open guide →05SharePoint IntegrationMaintain rule repositories in SharePoint.
Open guide →06Amazon S3 IntegrationLoad rule files directly from S3.
Open guide →07Docker ContainersPackage services as portable containers.
Open guide →08Apache SparkUse OpenRules from Spark applications.
Open PDF ↗09WAR FilesDeploy to Tomcat, WebSphere, and other servers.
Open guide →Build and deploy
Try these deployment projects yourself.
The free evaluation includes ready-to-run decision models that you can build, test, and adapt.
