Sample Web Projects
Sample web applications and web services included in the standard OpenRules installation
OpenRules installation includes the following sample web applications:
Applications: demonstrate how to build rules-based
graphical interfaces using Excel-based Layout tables.
- Web Services: demonstrate how to deploy rule-projects as web services with automatic generation of WSDL interfaces.
Here is a list of web applications included in the standard OpenRules installation:
This is a simple rules-based Web Application. It demonstrates how to create a simple web application using Excel as a layout editor, deploy the application on Tomcat server, and run it from a Web browser. It is created based on a pure rules project "HelloRules" by adding a Web-based GUI.
This is a simple rules-based Web Application with business logic in OpenRules and presentation logic in JSP. It demonstrates how to create a simple JSP-based application with OpenRules, deploy the application on a Tomcat server, and run it from a Web browser.
This web application is similar to "HelloJcp" but uses JSR-94 Interface to create and run OpenRulesEngine for a web application. The main differences are in the file GreetingEngine.java.
This is a simple rules-based Web Application demonstrates how to create a simple JSP-based application with OpenRules, deploy the application on the BEA WebLogic server, and run it from a Web browser.
This is a simple rules-based Web Application demonstrates how to create a simple JSP-based application with OpenRules, deploy the application on the IBM WebSphere server, and run it from a Web browser.
This project demonstrates how to deploy basic rule project as a Web Service. It contains all components necessary to configure and deploy business rules defined in the main xls-file war/rules/HelloWS.xls and included xls-files from the sub directory war/rules/include. By default, this project deploys these rules as a Web Service on a running Tomcat server.
This Java project demonstrates how to call a Web Service "HelloWS" from an Java application (client).
|HelloWSCustomer||This Java project is similar to a Web Service "HelloWS" but also demonstrates how to use custom objects within generated WSDL|
This Java project demonstrates how to call a Web Service "HelloWSCustomer" from an Java application (client).
This web application provides a GUI for a basic rules project "Loan1". This is an example of a presentation-oriented Web Application that uses business rules for loan pre-qualification. It is based on the standard OpenRules library "openrules.forms.lib", and in particular uses "Dialog.xls" for interaction logic. More explanations for this project can be found at http://openrules.com/docs/man_forms.html.
This web application provides a GUI for a basic rules project "HealthCare1". This is the second part of the clinical guidelines use case that models interaction sessions between a doctor and a rules-based system. See the detailed description at http://openrules.com/docs/ClinicalGuidelines.Part2.htm.
This is an example of a presentation-oriented Web Application that uses business rules for loan approval. This project supports a Loan Approval process with an ability to dynamically add/delete/modify different securities related to the initial loan application. Read more.
This web application demonstrates how to use OpenRules Forms to define a complex student loan approval process.
This is an example of a Web Application that implements a number guessing game that is frequently used as a sample application for different Web development techniques. See the detailed description at http://openrules.com/docs/man_game.html.
This web project demonstrates how to create dynamic web tables. Read more
This web project demonstrates how to implement related combo-boxes. On the first form you enter information about a customer. Based on the entered attribute "Gender" the choices for the attribute "Interest" are dynamically changed. You also have two input fields with a choice of colors. When you select the first color it will be excluded from possible choices for the second color.
This is an example of an interactive web application with a complete implementation of the well-known US tax form 1040EZ. Supports complete business logic, data and a genuine form required by government regulations. This project also demonstrates PGF generation by automatically producing final tax documents in the PDF format using the standard PDF form. The project uses the standard OpenRules library openrules.forms.lib, and in particular uses Dialog.xls for interaction logic and PredefinedTypes.xls. It relies on the included demo version of the PDF generation library "pdfgen" from the Big Faceless Organization.
The main configuration project that includes needed OpenRules libraries and templates
To work with Web-based applications, you will need web containers or application servers such as Apache Tomcat to be installed. You may download a free Tomcat container from http://tomcat.apache.org/download-60.cgi. For Windows download and run the file “apache-tomcat-6.0.29.exe” choosing 32-64 Windows Service Installer.
By default, all OpenRules web projects are tuned to work with Tomcat. The actual installation of your Tomcat is described in the file “build.properties” as
Make sure that appserver.home points to your own Tomcat installation directory.
If you use IBM WebSphere or BEA WebLogic, there are two projects "HelloWebSphere" and "HelloWebLogic" that demonstrate how to work with these servers.
To deploy your rules projects as Web Services you will also need to install Apache Axis 1.4 – see the project “HelloWS”.
All sample projects are accompanied by readme-files, include test cases, and can be deployed and executed as web applications.
More sample projects are described at
You may always request samples you are interested in by sending an email to email@example.com.