Sample Web Projects

Sample web applications and web services included in the standard OpenRules installation

 

OpenRules installation includes the following sample web applications:

  • Web 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:

Project Name

Description

HelloForms

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.

HelloJsp

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.

HelloJsr94Jsp

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.

HelloWebLogic

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.

HelloWebSphere

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.

HelloWS

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.

HelloWSJavaClient

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
HelloWSCustomerClient

This Java project demonstrates how to call a Web Service "HelloWSCustomer" from an Java application (client).

Loan2

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.

HealthCare2

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.

LoanDynamics

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.

LoanStudent

This web application demonstrates how to use OpenRules Forms to define a complex student loan approval process.

NumberGuess

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.

PartyManager

This web project demonstrates how to create dynamic web tables. Read more

ConfigForms

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.

1040EZ

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.

openrules.config

The main configuration project that includes needed OpenRules libraries and templates

openrules.forms.lib

This is a standard OpenRules library to support Web applications. It provides Excel files that supports typical interaction constructions, layouts and layout elements, and predefined data types.

 

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

        appserver.home=C:/apache-tomcat-6.0

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

      OpenRules-6 Decision Projects

      OpenRules Rules Projects

      OpenRules Web Qestionnaires

You may always request samples you are interested in by sending an email to support@openrules.com.

 

 

 

 

Welcome
Welcome
Business Rules Repository Decisions Top-Down Semantics In Concert Business Analyst Decisioning
Welcome
themed object
Business Rules - Time to Excel
Bookmark and Share