Create a Web service project for RuleApps for WebSphere Application Server V7
LiezlChin 060001ETC7 Comments (4) Visits (15601)
JRules along with the out of the box feature provides an extensive API in order to create your own Client for ruleApps project generator. This API involves an eclipse UI, in order to create your own wizard and code generation API using Velocity.
To illustrate this API you can use the following sample to generate a Web Service project for WebSphere Application Server V7.
To install, unzip the following file in the folder <jru
When you run the New Client Project for RuleApps wizard, you will then be offered the possibility to select Web Service for WebSphere AS V7:
The generated javatm project comes with an ant build.xml script that provides a target deploy-ruleapp to deploy the ruleapp to the specified WebSphere RES Configuration and a target create-ear to generate the webservice application ready to install in WebSphere Application Server V7.
If you elect to generate the web service as an Monitored Transparent Decision Service (MTDS), you will be able to use the RES console to monitor the execution:
The source code is included in the zip file for review and customization as needed.
We welcome your feedback.