Run the sample

Tooling part

(Please first make you have installed the plugin and start your RAD/Eclipse with –clean before you try the following functions)

For every time you save a condition in editor, the version manager will :

  1. remove the previous last version of JS of this project
  2. generate the new JS file
  3. update the version information to conditions_version.conf
  4. re-generate conditions_version.js

Sample part

  1. Deploy all the 3 projects to WAS or Tomcat;
  2. Run it in browser: http://localhost:8080/LocalWeb/EstablishSession
  3. The first Page:

As design, the conditon file will only be loaded at the first time you start the application. And you can watch the version of the condition file at the console of browser:

  1. The second Page

In this page we will use the common condition via ECA.

You can find the condition definitions at

10_GlbDefs\src\glb\definitions\condition.transaction

and

30_LocalWeb\src\definitions\condition.transaction

Please note that project 30_LocalWeb will import the conditons defined in 10_GlbDefs

And you can change the field in this page to try it.

  1. The last page

Just before this page, we will use same condition in conditional mapping at server side, you can find the definition at :

30_LocalWeb\src\definitions\processors\sampleFlow.transaction